Description of problem: SELinux is preventing systemctl from 'getattr' accesses on the lnk_file /etc/systemd/system/systemd-rfkill.service. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemctl should be allowed getattr access on the systemd-rfkill.service lnk_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 'systemctl' --raw | audit2allow -M my-systemctl # semodule -X 300 -i my-systemctl.pp Additional Information: Source Context system_u:system_r:tlp_t:s0-s0:c0.c1023 Target Context system_u:object_r:systemd_unit_file_t:s0 Target Objects /etc/systemd/system/systemd-rfkill.service [ lnk_file ] Source systemctl Source Path systemctl Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-35.1-1.fc35.noarch Local Policy RPM selinux-policy-targeted-35.1-1.fc35.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.14.11-300.fc35.x86_64 #1 SMP Sun Oct 10 14:36:25 UTC 2021 x86_64 x86_64 Alert Count 6 First Seen 2021-10-12 23:25:35 CEST Last Seen 2021-10-12 23:26:45 CEST Local ID bc0b1e54-28bb-414a-86a1-fb616638c2a3 Raw Audit Messages type=AVC msg=audit(1634074005.52:996): avc: denied { getattr } for pid=11234 comm="systemctl" path="/etc/systemd/system/systemd-rfkill.service" dev="nvme0n1p3" ino=459777 scontext=system_u:system_r:tlp_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_unit_file_t:s0 tclass=lnk_file permissive=0 Hash: systemctl,tlp_t,systemd_unit_file_t,lnk_file,getattr Version-Release number of selected component: selinux-policy-targeted-35.1-1.fc35.noarch Additional info: component: selinux-policy reporter: libreport-2.15.2 hashmarkername: setroubleshoot kernel: 5.14.11-300.fc35.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 2013439 ***