Bug 1394483 - SELinux is preventing firewalld from 'read' accesses on the directory netfilter.
Summary: SELinux is preventing firewalld from 'read' accesses on the directory netfilter.
Keywords:
Status: CLOSED DUPLICATE of bug 1394540
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:fe4de16cf3777ccf8d9c5c980c8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-12 12:27 UTC by hx
Modified: 2016-11-14 15:11 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-14 15:11:56 UTC
Type: ---


Attachments (Terms of Use)

Description hx 2016-11-12 12:27:53 UTC
Description of problem:
SELinux is preventing firewalld from 'read' accesses on the directory netfilter.

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

If you believe that firewalld should be allowed read access on the netfilter 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:
# ausearch -c 'firewalld' --raw | audit2allow -M my-firewalld
# semodule -X 300 -i my-firewalld.pp

Additional Information:
Source Context                system_u:system_r:firewalld_t:s0
Target Context                system_u:object_r:modules_object_t:s0
Target Objects                netfilter [ dir ]
Source                        firewalld
Source Path                   firewalld
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-224.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.8.6-300.fc25.x86_64 #1 SMP Tue
                              Nov 1 12:36:38 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-11-12 12:55:15 EET
Last Seen                     2016-11-12 12:55:15 EET
Local ID                      215f1a60-3d3b-4364-becb-5fd95bf3a0ba

Raw Audit Messages
type=AVC msg=audit(1478948115.277:125): avc:  denied  { read } for  pid=858 comm="firewalld" name="netfilter" dev="dm-1" ino=1060617 scontext=system_u:system_r:firewalld_t:s0 tcontext=system_u:object_r:modules_object_t:s0 tclass=dir permissive=1


Hash: firewalld,firewalld_t,modules_object_t,dir,read

Version-Release number of selected component:
selinux-policy-3.13.1-224.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.6-300.fc25.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2016-11-14 15:11:56 UTC

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


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