Bug 717226 - firewall-cmd fails with stack trace on anything besides "help"
Summary: firewall-cmd fails with stack trace on anything besides "help"
Keywords:
Status: CLOSED DUPLICATE of bug 716620
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 15
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-28 12:19 UTC by Matt Kolb
Modified: 2011-06-28 15:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-28 15:36:49 UTC
Type: ---


Attachments (Terms of Use)

Description Matt Kolb 2011-06-28 12:19:35 UTC
Description of problem:
Attempting to run firewall-cmd --status or to add rules results in a stack trace


Version-Release number of selected component (if applicable):
firewalld.noarch, 0.1.3-2.fc15, @fedora

How reproducible:
Fails consistently

Steps to Reproduce:
1.systemctl enable firewalld.service
2.firewall-cmd --status
  
Actual results:

[mk@bender ~]$ sudo firewall-cmd --status
Traceback (most recent call last):
  File "/usr/bin/firewall-cmd", line 147, in <module>
    status = fw.status()
  File "<string>", line 2, in status
  File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 141, in _enable_proxy
    return func(*p, **k)
  File "/usr/share/firewalld/firewall_client.py", line 61, in status
    return self.fw.status()
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/site-packages/slip/dbus/proxies.py", line 41, in __call__
    return dbus.proxies._ProxyMethod.__call__(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
TypeError: a float is required

Expected results:
Some output indicating that the firewall is running (as per `systemctl status firewalld.service`), ala:
[mk@bender ~]$ systemctl status firewalld.service
firewalld.service - LSB: The firewall deamon manages the firewall and handles dynamic
	  Loaded: loaded (/etc/rc.d/init.d/firewalld)
	  Active: active (running) since Mon, 27 Jun 2011 16:43:49 -0400; 15h ago
	Main PID: 1062 (firewalld)
	  CGroup: name=systemd:/system/firewalld.service
		  └ 1062 /usr/bin/python /usr/sbin/firewalld


Additional info:

Comment 1 Thomas Woerner 2011-06-28 15:36:49 UTC

*** This bug has been marked as a duplicate of bug 716620 ***


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