Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing /usr/lib/systemd/systemd-resolved from 'getattr' accesses on the file /cgroup:[4026531835]. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-resolved should be allowed getattr access on the cgroup:[4026531835] 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 'systemd-resolve' --raw | audit2allow -M my-systemdresolve # semodule -X 300 -i my-systemdresolve.pp Additional Information: Source Context system_u:system_r:systemd_resolved_t:s0 Target Context system_u:object_r:nsfs_t:s0 Target Objects /cgroup:[4026531835] [ file ] Source systemd-resolve Source Path /usr/lib/systemd/systemd-resolved Port <Unknown> Host (removed) Source RPM Packages systemd-resolved-257~rc3-1.fc42.x86_64 Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.26-1.fc42.noarch Local Policy RPM selinux-policy-targeted-41.26-1.fc42.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.13.0- 0.rc0.20241126git7eef7e306d3c.10.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 26 15:06:05 UTC 2024 x86_64 Alert Count 1 First Seen 2024-11-28 12:09:20 AEDT Last Seen 2024-11-28 12:09:20 AEDT Local ID 2e53f480-77ca-49af-b20a-102e1b3ef2b9 Raw Audit Messages type=AVC msg=audit(1732756160.385:67): avc: denied { getattr } for pid=707 comm="systemd-resolve" path="cgroup:[4026531835]" dev="nsfs" ino=4026531835 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:nsfs_t:s0 tclass=file permissive=1 type=SYSCALL msg=audit(1732756160.385:67): arch=x86_64 syscall=newfstatat success=yes exit=0 a0=ffffff9c a1=7fff83b3a8e0 a2=7fff83b3a900 a3=0 items=1 ppid=1 pid=707 auid=4294967295 uid=193 gid=193 euid=193 suid=193 fsuid=193 egid=193 sgid=193 fsgid=193 tty=(none) ses=4294967295 comm=systemd-resolve exe=/usr/lib/systemd/systemd-resolved subj=system_u:system_r:systemd_resolved_t:s0 key=(null) type=CWD msg=audit(1732756160.385:67): cwd=/ type=PATH msg=audit(1732756160.385:67): item=0 name=/proc/self/ns/cgroup inode=4026531835 dev=00:04 mode=0100444 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:nsfs_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 Hash: systemd-resolve,systemd_resolved_t,nsfs_t,file,getattr Version-Release number of selected component: selinux-policy-targeted-41.26-1.fc42.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing /usr/lib/systemd/systemd-resolved from 'getattr' accesses on the file /cgroup:[4026531835]. package: selinux-policy-targeted-41.26-1.fc42.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.13.0-0.rc0.20241126git7eef7e306d3c.10.fc42.x86_64 component: selinux-policy
Created attachment 2060178 [details] File: description
Created attachment 2060179 [details] File: os_info
This seemed to coincide with updating to systemd-257~rc3-1.fc42.x86_64.
*** Bug 2329752 has been marked as a duplicate of this bug. ***
*** Bug 2330722 has been marked as a duplicate of this bug. ***
FEDORA-2024-98cb37f64a (selinux-policy-41.27-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-98cb37f64a
FEDORA-2024-98cb37f64a has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-98cb37f64a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-98cb37f64a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-98cb37f64a (selinux-policy-41.27-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
*** Bug 2330476 has been marked as a duplicate of this bug. ***