Bug 1775895

Summary: SELinux is preventing 11-dhclient from 'execute_no_trans' accesses 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:d54a273927889cc6ecccbc04ea46afea09f6fe450a06e764f9a97367a00a9efb;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:45:32 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 12:03:31 UTC
Description of problem:
SELinux is preventing 11-dhclient from 'execute_no_trans' accesses 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 execute_no_trans 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                   6
First Seen                    2019-11-23 02:25:12 CST
Last Seen                     2019-11-23 05:38:49 CST
Local ID                      2468314e-7f4f-44bf-84bf-7eeabf62e47c

Raw Audit Messages
type=AVC msg=audit(1574509129.355:281): avc:  denied  { execute_no_trans } for  pid=1973 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,execute_no_trans

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 1764914

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

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