Bug 1770700 - SELinux is preventing 11-dhclient from 'append' accesses on the file /var/lib/dhclient/chrony.servers.wlp61s0.
Summary: SELinux is preventing 11-dhclient from 'append' accesses on the file /var/lib...
Keywords:
Status: CLOSED DUPLICATE of bug 1770698
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:3b01b2268dbd105bab6cd468318...
: 1775109 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-11 08:15 UTC by Kamil Páral
Modified: 2019-11-21 12:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-11 11:32:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kamil Páral 2019-11-11 08:15:28 UTC
Description of problem:
I updated my system and rebooted. Happened on login, I think.
SELinux is preventing 11-dhclient from 'append' accesses on the file /var/lib/dhclient/chrony.servers.wlp61s0.

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

If you believe that 11-dhclient should be allowed append 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                /var/lib/dhclient/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                      7586c1a5-bc1b-4c3b-acd9-4c0557a20d41

Raw Audit Messages
type=AVC msg=audit(1573459948.468:210): avc:  denied  { append } for  pid=2073 comm="11-dhclient" path="/var/lib/dhclient/chrony.servers.wlp61s0" dev="dm-1" ino=1048694 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,append

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 Lukas Vrabec 2019-11-11 11:32:45 UTC

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

Comment 2 Jacek Pawlyta 2019-11-21 12:17:11 UTC
*** Bug 1775109 has been marked as a duplicate of this bug. ***


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