Description of problem: SELinux is preventing /usr/libexec/iio-sensor-proxy from 'create' accesses on the file /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8087:0AC2.0007/HID-SENSOR-200083.21.auto/iio:device7/trigger/current_trigger. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that iio-sensor-proxy should be allowed create access on the current_trigger 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 /sys/devices/pci0000:00/0000:00:13.0/{33AECD58- B679-4E54-9BD9- A04D34F0C226}/001F:8087:0AC2.0007/HID-SENSOR- 200083.21.auto/iio:device7/trigger/current_trigger [ 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 2 First Seen 2024-11-07 13:35:59 +06 Last Seen 2024-11-07 13:35:59 +06 Local ID 6568d3e2-36b2-483e-9a75-5f46b520f7aa Raw Audit Messages type=AVC msg=audit(1730964959.625:145): avc: denied { create } for pid=764 comm="iio-sensor-prox" name="current_trigger" 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:145): arch=x86_64 syscall=openat success=yes exit=ENOEXEC a0=ffffff9c a1=560d7d869fc0 a2=241 a3=1b6 items=1 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) type=CWD msg=audit(1730964959.625:145): cwd=/ type=PATH msg=audit(1730964959.625:145): item=0 name=/sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8087:0AC2.0007/HID-SENSOR-200083.21.auto/iio:device7/trigger/current_trigger inode=45651 dev=00:17 mode=0100644 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:sysfs_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 Hash: iio-sensor-prox,iiosensorproxy_t,sysfs_t,file,create 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 'create' accesses on the file /sys/devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8087:0AC2.0007/HID-SENSOR-200083.21.auto/iio:device7/trigger/current_trigger. 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
Created attachment 2056158 [details] File: description
Created attachment 2056159 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2324181 ***