Bug 2324295
| Summary: | SELinux is preventing /usr/libexec/iio-sensor-proxy from 'write' accesses on the file in_magn_z_en. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Shafa'el Zaitsev <shafael170> | ||||||
| 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: | 41 | CC: | dwalsh, lvrabec, mmalik, omosnacek, pkoncity, shafael170, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:b20fa76fcc1810300c148b8f98516a10aa1e8ad76b9b24992d0e55790348adeb;VARIANT_ID=; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2024-11-20 21:45:58 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 2056156 [details]
File: description
Created attachment 2056157 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2324181 *** |
Description of problem: SELinux is preventing /usr/libexec/iio-sensor-proxy from 'write' accesses on the file in_magn_z_en. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that iio-sensor-proxy should be allowed write access on the in_magn_z_en 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 'iio-sensor-prox' --raw | audit2allow -M my-iiosensorprox # semodule -X 300 -i my-iiosensorprox.pp Additional Information: Source Context system_u:system_r:iiosensorproxy_t:s0 Target Context system_u:object_r:sysfs_t:s0 Target Objects in_magn_z_en [ file ] Source iio-sensor-prox Source Path /usr/libexec/iio-sensor-proxy Port <Unknown> Host (removed) Source RPM Packages iio-sensor-proxy-3.5-4.fc41.x86_64 Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.24-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.24-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.11.6-cb2.0.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Nov 2 18:56:17 UTC 2024 x86_64 Alert Count 302 First Seen 2024-11-06 21:31:52 +06 Last Seen 2024-11-07 13:35:59 +06 Local ID e44e4dc4-b33d-487a-bfc3-94ead0c5ffe6 Raw Audit Messages type=AVC msg=audit(1730964959.625:144): avc: denied { write } for pid=764 comm="iio-sensor-prox" name="in_magn_z_en" dev="sysfs" ino=45627 scontext=system_u:system_r:iiosensorproxy_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file permissive=1 type=SYSCALL msg=audit(1730964959.625:144): arch=x86_64 syscall=openat success=yes exit=EBADF a0=ffffff9c a1=560d7d7f59a0 a2=241 a3=1b6 items=0 ppid=1 pid=764 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=iio-sensor-prox exe=/usr/libexec/iio-sensor-proxy subj=system_u:system_r:iiosensorproxy_t:s0 key=(null) Hash: iio-sensor-prox,iiosensorproxy_t,sysfs_t,file,write Version-Release number of selected component: selinux-policy-targeted-41.24-1.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing /usr/libexec/iio-sensor-proxy from 'write' accesses on the file in_magn_z_en. package: selinux-policy-targeted-41.24-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.11.6-cb2.0.fc41.x86_64 component: selinux-policy