Bug 2319318
| Summary: | SELinux is preventing /usr/libexec/power-profiles-daemon from 'read' accesses on the file /run/udev/data/c226:1. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| 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:fed1f4ddc5c89383c864b27051f7acab6e004995f58d80f125680d31c2629f12;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2024-10-23 20:04:21 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 2052433 [details]
File: description
Created attachment 2052434 [details]
File: os_info
|
Description of problem: SELinux is preventing /usr/libexec/power-profiles-daemon from 'read' accesses on the file /run/udev/data/c226:1. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that power-profiles-daemon should be allowed read access on the c226:1 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 'power-profiles-' --raw | audit2allow -M my-powerprofiles # semodule -X 300 -i my-powerprofiles.pp Additional Information: Source Context system_u:system_r:powerprofiles_t:s0 Target Context system_u:object_r:udev_var_run_t:s0 Target Objects /run/udev/data/c226:1 [ file ] Source power-profiles- Source Path /usr/libexec/power-profiles-daemon Port <Unknown> Host (removed) Source RPM Packages power-profiles-daemon-0.23-1.fc42.x86_64 Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.21-1.fc42.noarch Local Policy RPM selinux-policy-targeted-41.21-1.fc42.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.12.0- 0.rc3.20241015giteca631b8fe80.33.fc42.x86_64+debug #1 SMP PREEMPT_DYNAMIC Wed Oct 16 00:28:24 +05 2024 x86_64 Alert Count 1 First Seen 2024-10-17 11:36:37 +05 Last Seen 2024-10-17 11:36:37 +05 Local ID 7ff26568-78d1-4c6a-8b2c-47219cf11d33 Raw Audit Messages type=AVC msg=audit(1729146997.75:207): avc: denied { read } for pid=2577 comm="power-profiles-" name="c226:1" dev="tmpfs" ino=2297 scontext=system_u:system_r:powerprofiles_t:s0 tcontext=system_u:object_r:udev_var_run_t:s0 tclass=file permissive=1 type=AVC msg=audit(1729146997.75:207): avc: denied { open } for pid=2577 comm="power-profiles-" path="/run/udev/data/c226:1" dev="tmpfs" ino=2297 scontext=system_u:system_r:powerprofiles_t:s0 tcontext=system_u:object_r:udev_var_run_t:s0 tclass=file permissive=1 type=SYSCALL msg=audit(1729146997.75:207): arch=x86_64 syscall=openat success=yes exit=ECHILD a0=ffffffffffffff9c a1=55c6ba06fa50 a2=80000 a3=0 items=1 ppid=1 pid=2577 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=power-profiles- exe=/usr/libexec/power-profiles-daemon subj=system_u:system_r:powerprofiles_t:s0 key=(null) type=CWD msg=audit(1729146997.75:207): cwd=/ type=PATH msg=audit(1729146997.75:207): item=0 name=/run/udev/data/c226:1 inode=2297 dev=00:1b mode=0100644 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:udev_var_run_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 Hash: power-profiles-,powerprofiles_t,udev_var_run_t,file,read Version-Release number of selected component: selinux-policy-targeted-41.21-1.fc42.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing /usr/libexec/power-profiles-daemon from 'read' accesses on the file /run/udev/data/c226:1. package: selinux-policy-targeted-41.21-1.fc42.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.12.0-0.rc3.20241015giteca631b8fe80.33.fc42.x86_64+debug component: selinux-policy