Bug 2329752
| Summary: | SELinux is preventing /usr/lib/systemd/systemd-userdbd from 'getattr' accesses on the file /cgroup:[4026531835]. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | dwalsh, lvrabec, mikhail.v.gavrilov, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:b575be126c29e9fd67e644046071ebd3489616ff432636e9594066353b1a35db;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2024-12-11 08:36:17 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 2060686 [details]
File: description
Created attachment 2060687 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2329280 *** |
Description of problem: SELinux is preventing /usr/lib/systemd/systemd-userdbd from 'getattr' accesses on the file /cgroup:[4026531835]. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-userdbd 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-userdbd' --raw | audit2allow -M my-systemduserdbd # semodule -X 300 -i my-systemduserdbd.pp Additional Information: Source Context system_u:system_r:systemd_userdbd_t:s0 Target Context system_u:object_r:nsfs_t:s0 Target Objects /cgroup:[4026531835] [ file ] Source systemd-userdbd Source Path /usr/lib/systemd/systemd-userdbd Port <Unknown> Host (removed) Source RPM Packages systemd-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.12.0-01- 77a0cfafa9af9c0d5b43534eb90d530c189edca1+ #730 SMP PREEMPT_DYNAMIC Thu Nov 28 21:21:59 +05 2024 x86_64 Alert Count 1 First Seen 2024-11-29 14:45:58 +05 Last Seen 2024-11-29 14:45:58 +05 Local ID 51d39e13-43af-48a8-87f7-79124bbda062 Raw Audit Messages type=AVC msg=audit(1732873558.611:3758): avc: denied { getattr } for pid=1136949 comm="systemd-userdbd" path="cgroup:[4026531835]" dev="nsfs" ino=4026531835 scontext=system_u:system_r:systemd_userdbd_t:s0 tcontext=system_u:object_r:nsfs_t:s0 tclass=file permissive=1 type=SYSCALL msg=audit(1732873558.611:3758): arch=x86_64 syscall=newfstatat success=yes exit=0 a0=ffffff9c a1=7ffff1d76d80 a2=7ffff1d76da0 a3=0 items=1 ppid=1 pid=1136949 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-userdbd exe=/usr/lib/systemd/systemd-userdbd subj=system_u:system_r:systemd_userdbd_t:s0 key=(null) type=CWD msg=audit(1732873558.611:3758): cwd=/ type=PATH msg=audit(1732873558.611:3758): 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-userdbd,systemd_userdbd_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-userdbd 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.12.0-03-3d1b536c13f7cd966aa660d1730855b26d01c9ae+ component: selinux-policy