Bug 1770699 - SELinux is preventing 11-dhclient from 'create' accesses on the file chrony.servers.wlp61s0.
Summary: SELinux is preventing 11-dhclient from 'create' accesses on the file chrony.s...
Keywords:
Status: CLOSED DUPLICATE of bug 1770698
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 31
Hardware: x86_64
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:aaedba5baa1f693abb14127ab33...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-11 08:14 UTC by Kamil Páral
Modified: 2019-11-11 14:45 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-11-11 14:45:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kamil Páral 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 ***


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