Bug 603099 - [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...
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-firewall   
(Show other bugs)
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4b62c7ba
Keywords:
Depends On:
Blocks: 604726
TreeView+ depends on / blocked
 
Reported: 2010-06-11 14:30 UTC by zbechir
Modified: 2010-08-17 05:43 UTC (History)
1 user (show)

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: ---


Attachments (Terms of Use)
File: backtrace (746 bytes, text/plain)
2010-06-11 14:30 UTC, zbechir
no flags Details

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.


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