Bug 1770699

Summary: SELinux is preventing 11-dhclient from 'create' accesses on the file chrony.servers.wlp61s0.
Product: [Fedora] Fedora Reporter: Kamil Páral (Red Hat) <kparal>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 31CC: dwalsh, lvrabec, mgrepl, plautrba, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:aaedba5baa1f693abb14127ab33a7f4b9aaecf3d3717d5a269e5a65b5c23a0e0;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-11 14:45:38 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 Kamil Páral (Red Hat) 2019-11-11 08:14:55 UTC
Description of problem:
I updated my system and rebooted. Happened on login, I think.
SELinux is preventing 11-dhclient from 'create' accesses on the file chrony.servers.wlp61s0.

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

If you believe that 11-dhclient should be allowed create access on the chrony.servers.wlp61s0 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:dhcpc_state_t:s0
Target Objects                chrony.servers.wlp61s0 [ file ]
Source                        11-dhclient
Source Path                   11-dhclient
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.4-40.fc31.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.3.9-300.fc31.x86_64 #1 SMP Wed
                              Nov 6 16:13:19 UTC 2019 x86_64 x86_64
Alert Count                   2
First Seen                    2019-11-11 09:12:22 CET
Last Seen                     2019-11-11 09:12:28 CET
Local ID                      4fa924be-224c-4b54-9374-3257d51e6507

Raw Audit Messages
type=AVC msg=audit(1573459948.468:209): avc:  denied  { create } for  pid=2073 comm="11-dhclient" name="chrony.servers.wlp61s0" scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:dhcpc_state_t:s0 tclass=file permissive=1


Hash: 11-dhclient,NetworkManager_t,dhcpc_state_t,file,create

Version-Release number of selected component:
selinux-policy-3.14.4-40.fc31.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.1
hashmarkername: setroubleshoot
kernel:         5.3.9-300.fc31.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2019-11-11 14:45:38 UTC

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