Bug 707521 - [abrt] firewalld-0.1.3-2.fc15: logger.py:117:open:IOError: [Errno 13] Permission denied: '/var/log/firewalld'
Summary: [abrt] firewalld-0.1.3-2.fc15: logger.py:117:open:IOError: [Errno 13] Permiss...
Keywords:
Status: CLOSED DUPLICATE of bug 693987
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e374b508ab2d5a0585c8a77c899...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-25 10:12 UTC by Renich Bon Ciric
Modified: 2012-04-19 07:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-19 07:50:00 UTC
Type: ---


Attachments (Terms of Use)

Description Renich Bon Ciric 2011-05-25 10:12:41 UTC
abrt version: 2.0.1
architecture:   x86_64
cmdline:        
comment:        tried running firewalld from the cli
component:      firewalld
executable:     /usr/sbin/firewalld
kernel:         2.6.38.6-27.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        firewalld-0.1.3-2.fc15
reason:         logger.py:117:open:IOError: [Errno 13] Permission denied: '/var/log/firewalld'
time:           Wed May 25 05:12:15 2011
uid:            500
username:       renich

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 0xfb4638>

Comment 1 Thomas Woerner 2011-05-25 10:51:42 UTC
Have you started firewalld with the service command?
What is the output of "ls -laZ /var/log/firewalld"?

Comment 2 Renich Bon Ciric 2011-05-25 16:52:31 UTC
(In reply to comment #1)
> Have you started firewalld with the service command?

Yes. It is not clear if I have to turn off something (iptables... ?)

> What is the output of "ls -laZ /var/log/firewalld"?

ls -laZ /var/log/firewalld 
-rw-r--r--. root root system_u:object_r:firewalld_var_log_t:s0 /var/log/firewalld

Comment 3 Thomas Woerner 2011-06-03 13:42:53 UTC
If you want to test firewalld, you do not need to turn off iptables and ip6tables services. If you want to switch to firewalld, use "lokkit--disabled" and enable the firewalld service. 

start firewalld with "service firewalld start". Using firewalld is working for me with SELinux enabled and there is no problem at all.

Please add more information on when this happens.

Comment 4 Renich Bon Ciric 2011-06-04 06:03:38 UTC
ok, wait. how do I configure firewalld? how do I get notifications?

it says I should use firewall-config but it's not provided. I'm sorry, I just don't know how to use it. I've relabeled my system and, it seems, this doesn't happen anymore...

Comment 5 Thomas Woerner 2011-12-14 16:00:38 UTC
I am sorry for the late answer. Please use firewall-cmd for now to configure firewalld. The graphical config tool is not finished yet.

Comment 6 Thomas Woerner 2012-04-19 07:50:00 UTC

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


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