Bug 1142942

Summary: SELinux is preventing firewalld from 'write' accesses on the directory parsers.
Product: [Fedora] Fedora Reporter: Moez Roy <moez.roy>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:07dbe5e353e6fe99532e339764728e0dd8de083b21898395b2252a027a5a7a69
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-24 13:10:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***