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-256.11-1.fc41.x86_64 Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.28-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.28-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.12.8-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 2 19:26:03 UTC 2025 x86_64 Alert Count 7 First Seen 2025-01-27 18:40:33 EST Last Seen 2025-01-29 13:43:16 EST Local ID 655ac465-115a-4342-810e-7c0f8c9a8d76 Raw Audit Messages type=AVC msg=audit(1738176196.579:454161): avc: denied { sys_admin } for pid=1004398 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=0 type=SYSCALL msg=audit(1738176196.579:454161): arch=x86_64 syscall=lgetxattr success=no exit=ENODATA a0=55ef2b0543d0 a1=7f4ce874610f a2=55ef2b057cc0 a3=67 items=1 ppid=2 pid=1004398 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(1738176196.579:454161): cwd=/ type=PATH msg=audit(1738176196.579:454161): item=0 name=/sys/fs/cgroup/user.slice/user-1000.slice/user inode=7461 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.28-1.fc41.noarch Additional info: reporter: libreport-2.17.15 hashmarkername: setroubleshoot kernel: 6.12.8-200.fc41.x86_64 reason: SELinux is preventing /usr/lib/systemd/systemd-coredump from using the 'sys_admin' capabilities. component: selinux-policy type: libreport package: selinux-policy-targeted-41.28-1.fc41.noarch component: selinux-policy
Created attachment 2074369 [details] File: os_info
Created attachment 2074370 [details] File: description
*** This bug has been marked as a duplicate of bug 2335200 ***