Description of problem: SELinux is preventing selinux-autorel from 'getattr' accesses on the file /etc/passwd. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that selinux-autorel should be allowed getattr access on the passwd 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 'selinux-autorel' --raw | audit2allow -M my-selinuxautorel # semodule -X 300 -i my-selinuxautorel.pp Additional Information: Source Context system_u:system_r:selinux_autorelabel_generator_t: s0 Target Context system_u:object_r:passwd_file_t:s0 Target Objects /etc/passwd [ file ] Source selinux-autorel Source Path selinux-autorel Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages setup-2.14.5-2.fc40.noarch SELinux Policy RPM selinux-policy-targeted-40.16-1.fc40.noarch Local Policy RPM selinux-policy-targeted-40.16-1.fc40.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.6.28-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 17 16:30:22 UTC 2024 x86_64 Alert Count 4 First Seen 2024-04-21 08:34:07 AEST Last Seen 2024-04-21 08:36:48 AEST Local ID 41655ded-2ebd-42cb-848b-ceeb7c12a489 Raw Audit Messages type=AVC msg=audit(1713652608.826:762): avc: denied { getattr } for pid=4623 comm="selinux-autorel" path="/etc/passwd" dev="sda3" ino=524210 scontext=system_u:system_r:selinux_autorelabel_generator_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file permissive=1 Hash: selinux-autorel,selinux_autorelabel_generator_t,passwd_file_t,file,getattr Version-Release number of selected component: selinux-policy-targeted-40.16-1.fc40.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing selinux-autorel from 'getattr' accesses on the file /etc/passwd. package: selinux-policy-targeted-40.16-1.fc40.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.6.28-200.fc40.x86_64 component: selinux-policy
Created attachment 2028120 [details] File: description
Created attachment 2028121 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2275266 ***