Bug 603099

Summary: [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'
Product: [Fedora] Fedora Reporter: zbechir
Component: system-config-firewallAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:4b62c7ba
Fixed In Version: system-config-firewall-1.2.27-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 604726 (view as bug list) Environment:
Last Closed: 2010-08-17 05:43:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 604726    
Attachments:
Description Flags
File: backtrace none

Description zbechir 2010-06-11 14:30:06 UTC
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: []

Comment 1 zbechir 2010-06-11 14:30:08 UTC
Created attachment 423299 [details]
File: backtrace

Comment 2 Thomas Woerner 2010-06-15 16:46:24 UTC
/etc/services is missing on your system according to the error message. Can you please add the output of "ls -laZ /etc/services".

Comment 3 zbechir 2010-06-16 13:41:48 UTC
ls -laZ /etc/services
ls: impossible d'accéder à /etc/services: Aucun fichier ou dossier de ce type

Comment 4 Thomas Woerner 2010-06-16 15:23:17 UTC
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 5 Fedora Update System 2010-08-11 09:46:57 UTC
system-config-firewall-1.2.27-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/system-config-firewall-1.2.27-1.fc13

Comment 6 Fedora Update System 2010-08-12 04:08:14 UTC
system-config-firewall-1.2.27-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-firewall'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-firewall-1.2.27-1.fc13

Comment 7 Fedora Update System 2010-08-17 05:43:10 UTC
system-config-firewall-1.2.27-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.