Bug 1788213 - SELinux is preventing 11-dhclient from 'read' accesses on the file /usr/sbin/setfiles.
Summary: SELinux is preventing 11-dhclient from 'read' accesses on the file /usr/sbin/...
Keywords:
Status: CLOSED DUPLICATE of bug 1787162
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:16b10edddafe1241d40668c92ba...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-06 17:45 UTC by Mike
Modified: 2020-01-09 20:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-09 20:30:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mike 2020-01-06 17:45:21 UTC
Description of problem:
SELinux is preventing 11-dhclient from 'read' accesses on the file /usr/sbin/setfiles.

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

If you believe that 11-dhclient should be allowed read access on the setfiles file 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 '11-dhclient' --raw | audit2allow -M my-11dhclient
# semodule -X 300 -i my-11dhclient.pp

Additional Information:
Source Context                system_u:system_r:NetworkManager_t:s0
Target Context                system_u:object_r:setfiles_exec_t:s0
Target Objects                /usr/sbin/setfiles [ file ]
Source                        11-dhclient
Source Path                   11-dhclient
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unknown>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.4.7-200.fc31.x86_64 #1 SMP Tue
                              Dec 31 22:25:12 UTC 2019 x86_64 x86_64
Alert Count                   3
First Seen                    2020-01-06 10:44:10 MST
Last Seen                     2020-01-06 10:44:10 MST
Local ID                      ce6e2d42-7b51-494a-a97f-08759d59c37f

Raw Audit Messages
type=AVC msg=audit(1578332650.656:315): avc:  denied  { read } for  pid=8878 comm="11-dhclient" name="setfiles" dev="dm-1" ino=34014166 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:setfiles_exec_t:s0 tclass=file permissive=0


Hash: 11-dhclient,NetworkManager_t,setfiles_exec_t,file,read


Additional info:
component:      selinux-policy
reporter:       libreport-2.11.3
hashmarkername: setroubleshoot
kernel:         5.4.7-200.fc31.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2020-01-09 20:30:07 UTC

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


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