Description of problem: SELinux is preventing (sd-parse-elf) from 'dac_read_search' accesses on the cap_userns labeled systemd_coredump_t. ***** Plugin dac_override (91.4 confidence) suggests ********************** If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system Then turn on full auditing to get path information about the offending file and generate the error again. Do Turn on full auditing # auditctl -w /etc/shadow -p w Try to recreate AVC. Then execute # ausearch -m avc -ts recent If you see PATH record check ownership/permissions on file, and fix it, otherwise report as a bugzilla. ***** Plugin catchall (9.59 confidence) suggests ************************** If you believe that (sd-parse-elf) should be allowed dac_read_search access on cap_userns labeled systemd_coredump_t 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 '(sd-parse-elf)' --raw | audit2allow -M my-sdparseelf # semodule -X 300 -i my-sdparseelf.pp Additional Information: Source Context system_u:system_r:systemd_coredump_t:s0 Target Context system_u:system_r:systemd_coredump_t:s0 Target Objects Unknown [ cap_userns ] Source (sd-parse-elf) Source Path (sd-parse-elf) Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-35.8-1.fc36.noarch Local Policy RPM selinux-policy-targeted-35.8-1.fc36.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.17.0- 0.rc0.20220112gitdaadb3bd0e8d.63.fc36.x86_64 #1 SMP PREEMPT Wed Jan 12 18:54:57 UTC 2022 x86_64 x86_64 Alert Count 8 First Seen 2022-01-11 22:24:51 +05 Last Seen 2022-01-13 01:54:20 +05 Local ID d8ff9c11-15cd-40cc-a189-8f470249815e Raw Audit Messages type=AVC msg=audit(1642020860.61:389): avc: denied { dac_read_search } for pid=24757 comm="(sd-parse-elf)" capability=2 scontext=system_u:system_r:systemd_coredump_t:s0 tcontext=system_u:system_r:systemd_coredump_t:s0 tclass=cap_userns permissive=1 Hash: (sd-parse-elf),systemd_coredump_t,systemd_coredump_t,cap_userns,dac_read_search Version-Release number of selected component: selinux-policy-targeted-35.8-1.fc36.noarch Additional info: component: selinux-policy reporter: libreport-2.15.2 hashmarkername: setroubleshoot kernel: 5.17.0-0.rc0.20220112gitdaadb3bd0e8d.63.fc36.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 2031356 ***