Description of problem: SELinux is preventing /usr/lib/systemd/systemd-coredump from using the 'sys_admin' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-coredump should have the sys_admin capability 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 'systemd-coredum' --raw | audit2allow -M my-systemdcoredum # semodule -X 300 -i my-systemdcoredum.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 /sys/fs/cgroup/user.slice/user- 1000.slice/user [ capability ] Source systemd-coredum Source Path /usr/lib/systemd/systemd-coredump Port <Unknown> Host (removed) Source RPM Packages systemd-udev-257.2-17.fc42.x86_64 Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.30-1.fc42.noarch Local Policy RPM selinux-policy-targeted-41.30-1.fc42.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.12.0-rc1-07- 60ad149cf395ff0a502976963d9a89c2f5dfe424+ #805 SMP PREEMPT_DYNAMIC Wed Jan 29 22:35:20 +05 2025 x86_64 Alert Count 4 First Seen 2024-12-21 23:53:00 +05 Last Seen 2025-01-30 01:55:31 +05 Local ID 15a18f2f-6cfb-48ab-8dcb-9b9d1fc60c7a Raw Audit Messages type=AVC msg=audit(1738184131.803:446): avc: denied { sys_admin } for pid=10424 comm="systemd-coredum" capability=21 scontext=system_u:system_r:systemd_coredump_t:s0 tcontext=system_u:system_r:systemd_coredump_t:s0 tclass=capability permissive=1 type=SYSCALL msg=audit(1738184131.803:446): arch=x86_64 syscall=lgetxattr success=yes exit=EPERM a0=5584ce693100 a1=7fd42e5616b4 a2=5584ce6960a0 a3=67 items=1 ppid=2 pid=10424 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-coredum exe=/usr/lib/systemd/systemd-coredump subj=system_u:system_r:systemd_coredump_t:s0 key=(null) type=CWD msg=audit(1738184131.803:446): cwd=/ type=PATH msg=audit(1738184131.803:446): item=0 name=/sys/fs/cgroup/user.slice/user-1000.slice/user inode=7236 dev=00:1c mode=040755 ouid=1000 ogid=1000 rdev=00:00 obj=system_u:object_r:cgroup_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 Hash: systemd-coredum,systemd_coredump_t,systemd_coredump_t,capability,sys_admin Version-Release number of selected component: selinux-policy-targeted-41.30-1.fc42.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing /usr/lib/systemd/systemd-coredump from using the 'sys_admin' capabilities. package: selinux-policy-targeted-41.30-1.fc42.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.12.0-rc1-07-60ad149cf395ff0a502976963d9a89c2f5dfe424+ component: selinux-policy
Created attachment 2074526 [details] File: description
Created attachment 2074527 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2335200 ***