Description of problem: SELinux is preventing zram-generator from 'search' accesses on the directory local-fs.target.wants. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that zram-generator should be allowed search access on the local-fs.target.wants directory 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 'zram-generator' --raw | audit2allow -M my-zramgenerator # semodule -X 300 -i my-zramgenerator.pp Additional Information: Source Context system_u:system_r:systemd_zram_generator_t:s0 Target Context system_u:object_r:systemd_fstab_generator_unit_fil e_t:s0 Target Objects local-fs.target.wants [ dir ] Source zram-generator Source Path zram-generator Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-40.22-1.fc40.noarch Local Policy RPM selinux-policy-targeted-40.22-1.fc40.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.8.11-300.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 27 14:53:33 UTC 2024 x86_64 Alert Count 1 First Seen 2024-06-13 20:08:17 CEST Last Seen 2024-06-13 20:08:17 CEST Local ID d74d9bdc-f4f5-4580-b045-1c9a90cb64d5 Raw Audit Messages type=AVC msg=audit(1718302097.98:501): avc: denied { search } for pid=36100 comm="zram-generator" name="local-fs.target.wants" dev="tmpfs" ino=4231 scontext=system_u:system_r:systemd_zram_generator_t:s0 tcontext=system_u:object_r:systemd_fstab_generator_unit_file_t:s0 tclass=dir permissive=1 Hash: zram-generator,systemd_zram_generator_t,systemd_fstab_generator_unit_file_t,dir,search Version-Release number of selected component: selinux-policy-targeted-40.22-1.fc40.noarch Additional info: reporter: libreport-2.17.15 type: libreport kernel: 6.9.4-200.fc40.x86_64 package: selinux-policy-targeted-40.22-1.fc40.noarch reason: SELinux is preventing zram-generator from 'search' accesses on the directory local-fs.target.wants. component: selinux-policy hashmarkername: setroubleshoot component: selinux-policy
Created attachment 2037469 [details] File: os_info
Created attachment 2037470 [details] File: description
*** This bug has been marked as a duplicate of bug 2292253 ***