Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing dhclient-script from 'getattr' accesses on the file /usr/bin/chronyc. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that dhclient-script should be allowed getattr access on the chronyc 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 'dhclient-script' --raw | audit2allow -M my-dhclientscript # semodule -X 300 -i my-dhclientscript.pp Additional Information: Source Context unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 Target Context system_u:object_r:chronyc_exec_t:s0 Target Objects /usr/bin/chronyc [ file ] Source dhclient-script Source Path dhclient-script Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages chrony-4.0-1.fc33.x86_64 SELinux Policy RPM selinux-policy-targeted-3.14.6-34.fc33.noarch Local Policy RPM selinux-policy-targeted-3.14.6-34.fc33.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.10.10-200.fc33.x86_64 #1 SMP Sun Jan 24 19:58:54 UTC 2021 x86_64 x86_64 Alert Count 8 First Seen 2021-01-15 15:55:37 CST Last Seen 2021-01-27 13:55:04 CST Local ID 22fce5d2-60ff-4dbf-9a43-692ac359c44e Raw Audit Messages type=AVC msg=audit(1611777304.473:2674): avc: denied { getattr } for pid=82957 comm="dhclient-script" path="/usr/bin/chronyc" dev="dm-0" ino=262483 scontext=unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 tcontext=system_u:object_r:chronyc_exec_t:s0 tclass=file permissive=0 Hash: dhclient-script,dhcpc_t,chronyc_exec_t,file,getattr Version-Release number of selected component: selinux-policy-targeted-3.14.6-34.fc33.noarch Additional info: component: selinux-policy reporter: libreport-2.14.0 hashmarkername: setroubleshoot kernel: 5.10.10-200.fc33.x86_64 type: libreport
I believe this bug is a duplicate of BZ#1897388.
*** This bug has been marked as a duplicate of bug 1897388 ***