RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 604726 - [abrt] crash in system-config-firewall-1.2.25-1.fc13: etc_services.py:74:load:IOError: [Errno 2] Aucun fichier ou dossier de ce type: '/etc/services'
Summary: [abrt] crash in system-config-firewall-1.2.25-1.fc13: etc_services.py:74:load...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: system-config-firewall
Version: 6.0
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Thomas Woerner
QA Contact: qe-baseos-daemons
URL:
Whiteboard: abrt_hash:4b62c7ba
Depends On: 603099
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-16 15:24 UTC by Thomas Woerner
Modified: 2010-11-10 21:41 UTC (History)
4 users (show)

Fixed In Version: system-config-firewall-1.2.26-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 603099
Environment:
Last Closed: 2010-11-10 21:41:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thomas Woerner 2010-06-16 15:24:20 UTC
+++ This bug was initially created as a clone of Bug #603099 +++

abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: /usr/bin/python /usr/bin/system-config-firewall
component: system-config-firewall
executable: /usr/bin/system-config-firewall
kernel: 2.6.33.5-112.fc13.x86_64
package: system-config-firewall-1.2.25-1.fc13
reason: etc_services.py:74:load:IOError: [Errno 2] Aucun fichier ou dossier de ce type: '/etc/services'
release: Fedora release 13 (Goddard)

backtrace
-----
etc_services.py:74:load:IOError: [Errno 2] Aucun fichier ou dossier de ce type: '/etc/services'

Traceback (most recent call last):
  File "/usr/bin/system-config-firewall", line 36, in <module>
    import fw_gui
  File "/usr/share/system-config-firewall/fw_gui.py", line 31, in <module>
    import etc_services
  File "/usr/share/system-config-firewall/etc_services.py", line 123, in <module>
    services = _Services()
  File "/usr/share/system-config-firewall/etc_services.py", line 71, in __init__
    self.load()
  File "/usr/share/system-config-firewall/etc_services.py", line 74, in load
    fd = open(ETC_SERVICES, "r")
IOError: [Errno 2] Aucun fichier ou dossier de ce type: '/etc/services'

Local variables in innermost frame:
self: []

--- Additional comment from zbechir on 2010-06-11 10:30:08 EDT ---

Created an attachment (id=423299)
File: backtrace

--- Additional comment from twoerner on 2010-06-15 12:46:24 EDT ---

/etc/services is missing on your system according to the error message. Can you please add the output of "ls -laZ /etc/services".

--- Additional comment from zbechir on 2010-06-16 09:41:48 EDT ---

ls -laZ /etc/services
ls: impossible d'accéder à /etc/services: Aucun fichier ou dossier de ce type

--- Additional comment from twoerner on 2010-06-16 11:23:17 EDT ---

Your installation is broken. /etc/services is part of the setup package, which is a core component.

Please verify your system integrity with "rpm -Va" and reinstall failing packages with "yum reinstall <package>". Use "yum groupinstall core" to install missing core packages.

I have fixed system-config-firewall not to fail if /etc/services does not exist or is not readable. Fixed upstream: http://git.fedorahosted.org/git/?p=system-config-firewall.git;a=commit;h=ccd9052a513da3987d35dc516539863c343fc105

Will be part of next package release.

Comment 1 RHEL Program Management 2010-06-16 15:35:32 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Alexander Todorov 2010-08-23 12:23:30 UTC
system-config-firewall-1.2.27-1.el6 prints on the console:
[Errno 2] No such file or directory: '/etc/services'

and doesn't crash in case of missing file. Moving to VERIFIED.

Comment 5 releng-rhel@redhat.com 2010-11-10 21:41:15 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.