Bug 761647

Summary: [abrt] system-config-firewall-1.2.29-4.fc16: system-config-firewall:37:<module>:ImportError: No module named fw_firewalld
Product: [Fedora] Fedora Reporter: Alan Milnes <asm>
Component: system-config-firewallAssignee: Thomas Woerner <twoerner>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: chmelarz, eu, gwhite, peter_snygg, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:69ae5f25a194eca6ea046e81410da003b54e2c52
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 23:56:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: smolt_data none

Description Alan Milnes 2011-12-08 19:14:32 UTC
libreport version: 2.0.7
abrt_version:   2.0.6
cmdline:        /usr/bin/python /usr/bin/system-config-firewall
comment:        Trying to configure Firewall
executable:     /usr/bin/system-config-firewall
kernel:         3.1.4-1.fc16.x86_64
reason:         system-config-firewall:37:<module>:ImportError: No module named fw_firewalld
time:           Thu 08 Dec 2011 07:11:02 PM GMT
uid:            1000
username:       gb077345

smolt_data:     Text file, 3408 bytes

backtrace:
:system-config-firewall:37:<module>:ImportError: No module named fw_firewalld
:
:Traceback (most recent call last):
:  File "/usr/bin/system-config-firewall", line 37, in <module>
:    import fw_firewalld
:ImportError: No module named fw_firewalld
:
:Local variables in innermost frame:
:GPollableInputStream: <class 'gio.__main__.GPollableInputStream'>
:fw_config: <module 'fw_config' from '/usr/share/system-config-firewall/fw_config.pyc'>
:__builtins__: <module '__builtin__' (built-in)>
:__file__: '/usr/bin/system-config-firewall'
:gtk: <module 'gtk' from '/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.pyc'>
:__doc__: None
:sys: <module 'sys' (built-in)>
:DATADIR: '/usr/share/system-config-firewall'
:GInitiallyUnowned: <class 'gtk.__main__.GInitiallyUnowned'>
:__name__: '__main__'
:GPollableOutputStream: <class 'gio.__main__.GPollableOutputStream'>
:__package__: None
:signal: <module 'signal' (built-in)>
:fw_gui: <module 'fw_gui' from '/usr/share/system-config-firewall/fw_gui.pyc'>

Comment 1 Alan Milnes 2011-12-08 19:14:35 UTC
Created attachment 542696 [details]
File: smolt_data

Comment 2 Zdenek Chmelar 2012-06-22 19:31:08 UTC
Wanted to start firewall

Package: system-config-firewall-1.2.29-7.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 3 Corey Ashford 2012-06-23 17:10:00 UTC
I simply tried to open the firewall application.

Package: system-config-firewall-1.2.29-7.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 4 Zdenek Chmelar 2012-06-23 17:30:09 UTC
Start the FW

Package: system-config-firewall-1.2.29-7.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 5 Corey Ashford 2012-07-04 17:26:06 UTC
I tried to open the firewall app and I got this error.

Package: system-config-firewall-1.2.29-7.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 6 Luis Verissimo 2012-07-15 08:19:49 UTC
I tried to open the firewall app and I got the same error:

Traceback (most recent call last):
  File "/usr/bin/system-config-firewall", line 37, in <module>
    import fw_firewalld
ImportError: No module named fw_firewalld

Package: system-config-firewall-1.2.29-4.fc16
OS Release: Fedora release 16

Comment 7 Thomas Woerner 2012-07-16 10:58:10 UTC
fw_firewalld is part of system-config-firewall-base. Please check if all system-config-firewall packages are of the same version:

rpm -qa "system-config-firewall*"

Please also verify if the pacakges:

rpm -Va "system-config-firewall*"

Comment 8 Luis Verissimo 2012-07-16 12:54:46 UTC
You are right, I had some files missing. Erased and re-installed and it works!

Thanks

Comment 9 Thomas Woerner 2012-07-16 13:09:51 UTC
The remaining question is: Why are the files missing?

Comment 10 Luis Verissimo 2012-07-16 14:37:29 UTC
This was the result of your suggestion. 

[root ~]# rpm -qa "system-config-firewall*"
system-config-firewall-tui-1.2.29-4.fc16.noarch
system-config-firewall-base-1.2.29-4.fc16.noarch
system-config-firewall-1.2.29-4.fc16.noarch


[root ~]# rpm -Va "system-config-firewall*" | grep missing
missing     /usr/share/system-config-firewall/fw_tui.pyc
missing     /usr/share/system-config-firewall/fw_tui.pyo
missing     /usr/share/system-config-firewall/etc_services.pyo
missing     /usr/share/system-config-firewall/fw_compat.pyo
missing     /usr/share/system-config-firewall/fw_config.pyo
missing     /usr/share/system-config-firewall/fw_firewalld.py
missing     /usr/share/system-config-firewall/fw_firewalld.pyc
missing     /usr/share/system-config-firewall/fw_firewalld.pyo
missing     /usr/share/system-config-firewall/fw_functions.pyo
missing     /usr/share/system-config-firewall/fw_icmp.pyo
missing     /usr/share/system-config-firewall/fw_iptables.pyo
missing     /usr/share/system-config-firewall/fw_lokkit.pyo
missing     /usr/share/system-config-firewall/fw_parser.pyo
missing     /usr/share/system-config-firewall/fw_selinux.pyo
missing     /usr/share/system-config-firewall/fw_services.pyo
missing     /usr/share/system-config-firewall/fw_sysconfig.pyo
missing     /usr/share/system-config-firewall/fw_sysctl.pyo

Clues: 
1. Yesterday I erased and installed firewalld by itself. That might have had an impact i suspect. 
2. Also, I had severe issues with NetworkManager last week, also several erase and installs.. 
3. Other than that, I found it odd when I erase system-config-firewall-base it showed to be associated with the following repository: @koji-override-0/$releasever 

Thanks

Comment 11 Thomas Woerner 2012-07-16 14:47:46 UTC
Trying out to figure out, what happened:

1) It does not own or provide any files in /usr/share/system-config-firewall. Therefore it should be very unlikely, that an erase or update of firewalld should result in this.
2) NetworkManager should not touch any files in /usr/share/system-config-firewall, also unlikely.
3) What is @koji-override-0?

Comment 12 Luis Verissimo 2012-07-16 23:05:50 UTC
To be honest I have no clue what that @koji-override-0 means... I have googled it, although it there are some hits I haven't been able to find out what it is.

Comment 13 Zdenek Chmelar 2012-07-19 21:51:33 UTC
attempt to start FW

Package: system-config-firewall-1.2.29-7.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 14 Zdenek Chmelar 2012-07-19 22:04:10 UTC
In my case:

F17 was fresh install and FW didn't work since the beginning

# rpm -qa "system-config-firewall*"

system-config-firewall-tui-1.2.29-7.fc17.noarch
system-config-firewall-base-1.2.29-7.fc17.noarch
system-config-firewall-1.2.29-7.fc17.noarch

# rpm -Va "system-config-firewall*" | grep missing

missing     /usr/share/system-config-firewall/fw_tui.pyc
missing     /usr/share/system-config-firewall/fw_tui.pyo
missing     /usr/share/system-config-firewall/etc_services.pyc
missing     /usr/share/system-config-firewall/etc_services.pyo
missing     /usr/share/system-config-firewall/fw_compat.pyc
missing     /usr/share/system-config-firewall/fw_compat.pyo
missing     /usr/share/system-config-firewall/fw_config.pyc
missing     /usr/share/system-config-firewall/fw_config.pyo
missing     /usr/share/system-config-firewall/fw_firewalld.py
missing     /usr/share/system-config-firewall/fw_firewalld.pyc
missing     /usr/share/system-config-firewall/fw_firewalld.pyo
missing     /usr/share/system-config-firewall/fw_functions.pyc
missing     /usr/share/system-config-firewall/fw_functions.pyo
missing     /usr/share/system-config-firewall/fw_icmp.pyc
missing     /usr/share/system-config-firewall/fw_icmp.pyo
missing     /usr/share/system-config-firewall/fw_iptables.pyc
missing     /usr/share/system-config-firewall/fw_iptables.pyo
missing     /usr/share/system-config-firewall/fw_lokkit.pyc
missing     /usr/share/system-config-firewall/fw_lokkit.pyo
missing     /usr/share/system-config-firewall/fw_parser.pyc
missing     /usr/share/system-config-firewall/fw_parser.pyo
missing     /usr/share/system-config-firewall/fw_selinux.pyc
missing     /usr/share/system-config-firewall/fw_selinux.pyo
missing     /usr/share/system-config-firewall/fw_services.pyc
missing     /usr/share/system-config-firewall/fw_services.pyo
missing     /usr/share/system-config-firewall/fw_sysconfig.pyc
missing     /usr/share/system-config-firewall/fw_sysconfig.pyo
missing     /usr/share/system-config-firewall/fw_sysctl.pyc
missing     /usr/share/system-config-firewall/fw_sysctl.pyo
missing     /usr/share/system-config-firewall/fw_dbus.pyc
missing     /usr/share/system-config-firewall/fw_dbus.pyo
missing     /usr/share/system-config-firewall/fw_gui.pyc
missing     /usr/share/system-config-firewall/fw_gui.pyo
missing     /usr/share/system-config-firewall/fw_nm.pyc
missing     /usr/share/system-config-firewall/fw_nm.pyo
missing     /usr/share/system-config-firewall/gtk_chooserbutton.pyc
missing     /usr/share/system-config-firewall/gtk_chooserbutton.pyo
missing     /usr/share/system-config-firewall/gtk_label_autowrap.pyc
missing     /usr/share/system-config-firewall/gtk_label_autowrap.pyo
missing     /usr/share/system-config-firewall/gtk_treeviewtooltips.pyc
missing     /usr/share/system-config-firewall/gtk_treeviewtooltips.pyo
missing     /usr/share/system-config-firewall/system-config-firewall-mechanism.pyc
missing     /usr/share/system-config-firewall/system-config-firewall-mechanism.pyo


Simple reinstallation (as suggested above) fixed the problem

# yum reinstall system-config-firewall*

Comment 15 smanocch 2012-09-01 20:00:40 UTC
opening firewall

Package: system-config-firewall-1.2.29-7.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 16 Fedora End Of Life 2013-01-16 20:32:12 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 17 Fedora End Of Life 2013-02-13 23:56:33 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.