Bug 1142942 - SELinux is preventing firewalld from 'write' accesses on the directory parsers.
Summary: SELinux is preventing firewalld from 'write' accesses on the directory parsers.
Keywords:
Status: CLOSED DUPLICATE of bug 1056137
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:07dbe5e353e6fe99532e3397647...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-17 15:54 UTC by Moez Roy
Modified: 2014-09-24 13:10 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-24 13:10:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Moez Roy 2014-09-17 15:54:06 UTC
Description of problem:
SELinux is preventing firewalld from 'write' accesses on the directory parsers.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that firewalld should be allowed write access on the parsers directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep firewalld /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:firewalld_t:s0
Target Context                system_u:object_r:lib_t:s0
Target Objects                parsers [ dir ]
Source                        firewalld
Source Path                   firewalld
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-79.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.16.2-301.fc21.x86_64 #1 SMP Thu
                              Sep 11 12:45:29 UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-09-17 08:12:22 PDT
Last Seen                     2014-09-17 08:12:22 PDT
Local ID                      a35edbe0-631e-4b62-b300-803f8e569759

Raw Audit Messages
type=AVC msg=audit(1410966742.485:31): avc:  denied  { write } for  pid=1414 comm="firewalld" name="parsers" dev="dm-1" ino=26539 scontext=system_u:system_r:firewalld_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=dir permissive=0


Hash: firewalld,firewalld_t,lib_t,dir,write

Version-Release number of selected component:
selinux-policy-3.13.1-79.fc21.noarch

Additional info:
reporter:       libreport-2.2.3
hashmarkername: setroubleshoot
kernel:         3.16.2-301.fc21.x86_64
type:           libreport

Potential duplicate: bug 1056137

Comment 1 Daniel Walsh 2014-09-24 13:10:27 UTC

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


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