Bug 1775881

Summary: SELinux is preventing 11-dhclient from read, open access on the archivo /usr/libexec/chrony-helper.
Product: [Fedora] Fedora Reporter: eber67
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: dwalsh, lvrabec, mgrepl, plautrba, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:773a04847612e88f6ea759b675f6438b1ceb10ab1f427a23191e3c60f14f4d66;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-25 08:26:45 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 eber67 2019-11-23 07:28:26 UTC
Description of problem:
SELinux is preventing 11-dhclient from read, open access on the archivo /usr/libexec/chrony-helper.

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

Si cree que de manera predeterminada se debería permitir a 11-dhclient el acceso read open sobre  chrony-helper file.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso temporalmente ejecutando:
# ausearch -c '11-dhclient' --raw | audit2allow -M mi-11dhclient
# semodule -X 300 -i mi-11dhclient.pp

Additional Information:
Source Context                system_u:system_r:NetworkManager_t:s0
Target Context                system_u:object_r:chronyd_exec_t:s0
Target Objects                /usr/libexec/chrony-helper [ file ]
Source                        11-dhclient
Source Path                   11-dhclient
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           chrony-3.5-4.fc31.x86_64
Policy RPM                    selinux-policy-3.14.4-37.fc31.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.3.11-300.fc31.x86_64 #1 SMP Tue
                              Nov 12 19:08:07 UTC 2019 x86_64 x86_64
Alert Count                   5
First Seen                    2019-11-22 05:16:19 CST
Last Seen                     2019-11-23 00:39:54 CST
Local ID                      887fd98e-462e-42d9-b688-b1ecada1ea05

Raw Audit Messages
type=AVC msg=audit(1574491194.847:1880): avc:  denied  { read open } for  pid=44909 comm="11-dhclient" path="/usr/libexec/chrony-helper" dev="dm-2" ino=4471575 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:chronyd_exec_t:s0 tclass=file permissive=0


Hash: 11-dhclient,NetworkManager_t,chronyd_exec_t,file,read,open

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

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

Potential duplicate: bug 1764913

Comment 1 Zdenek Pytela 2019-11-25 08:26:45 UTC

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