Hide Forgot
libreport version: 2.0.7 abrt_version: 2.0.6 cmdline: /usr/bin/python /usr/sbin/firewalld --help comment: Trying to run "firewalld --help" as a normal user when it was already running in the background. executable: /usr/sbin/firewalld kernel: 3.1.5-1.fc16.x86_64 reason: logger.py:117:open:IOError: [Errno 13] Permission denied: '/var/log/firewalld' time: Wed 14 Dec 2011 09:40:18 AM EST uid: 628000003 username: james.cape backtrace: :logger.py:117:open:IOError: [Errno 13] Permission denied: '/var/log/firewalld' : :Traceback (most recent call last): : File "/usr/sbin/firewalld", line 74, in <module> : log.fatal(_("Not starting FirewallD, already running.")) : File "/usr/share/firewalld/logger.py", line 407, in fatal : self._log(self.FATAL, format, *args, **kwargs) : File "/usr/share/firewalld/logger.py", line 681, in _log : target.write(_format % dict, level, self, is_debug) : File "/usr/share/firewalld/logger.py", line 121, in write : self.open() : File "/usr/share/firewalld/logger.py", line 117, in open : self.fd = open(self.filename, self.mode) :IOError: [Errno 13] Permission denied: '/var/log/firewalld' : :Local variables in innermost frame: :self: <logger.FileLog instance at 0x7f3ddf9a8e60>
Is there a /var/log/firewalld file? Which permissions does it have? Is the SELinux context of the file ok? You can fix the context with "restorecon /var/log/firewalld".
*** This bug has been marked as a duplicate of bug 758056 ***
This is not a dupe of that bug, please read the comment I sent. I'm running "firewalld --help" as an unprivileged user. There is no /var/log/firewalld file, no, and that user shouldn't have permission to access it anyway. It should process it's arguments first, and output the relevant usage information since "--help" shouldn't require elevated permissions at all.
ok.. there is a missing check for root... have not seen this one
This will be fixed in the next F-17 package of firewalld.
firewalld-0.2.5-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/firewalld-0.2.5-1.fc17
firewalld-0.2.5-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.