Hide Forgot
SELinux is preventing /usr/sbin/userhelper from 'getattr' accesses on the chr_file /dev/vcsa1. ... and similar AVC denials are generated for all files in /dev/ when I start liveusb-creator. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that userhelper should be allowed getattr access on the vcsa1 chr_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: # grep userhelper /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context staff_u:staff_r:staff_consolehelper_t:s0-s0:c0.c10 23 Target Context system_u:object_r:tty_device_t:s0 Target Objects /dev/vcsa1 [ chr_file ] Source userhelper Source Path /usr/sbin/userhelper Port <Neznámé> Host (removed) Source RPM Packages usermode-1.107-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-13.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.2-9.fc15.x86_64 #1 SMP Wed Mar 30 16:55:57 UTC 2011 x86_64 x86_64 Alert Count 80 First Seen Út 12. duben 2011, 08:32:23 CEST Last Seen Út 12. duben 2011, 08:32:45 CEST Local ID 91b948a5-67f4-40dd-8bbd-6ebe83190829 Raw Audit Messages type=AVC msg=audit(1302589965.1:5971): avc: denied { getattr } for pid=6806 comm="userhelper" path="/dev/vcsa1" dev=devtmpfs ino=5340 scontext=staff_u:staff_r:staff_consolehelper_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tty_device_t:s0 tclass=chr_file type=SYSCALL msg=audit(1302589965.1:5971): arch=x86_64 syscall=stat success=no exit=EACCES a0=7fff5a01a030 a1=7fff5a015900 a2=7fff5a015900 a3=0 items=0 ppid=6805 pid=6806 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts1 ses=206 comm=userhelper exe=/usr/sbin/userhelper subj=staff_u:staff_r:staff_consolehelper_t:s0-s0:c0.c1023 key=(null) Hash: userhelper,staff_consolehelper_t,tty_device_t,chr_file,getattr audit2allow #============= staff_consolehelper_t ============== allow staff_consolehelper_t tty_device_t:chr_file getattr; audit2allow -R #============= staff_consolehelper_t ============== allow staff_consolehelper_t tty_device_t:chr_file getattr;
Matej, what were you doing when this happened?
(In reply to comment #1) > Matej, > what were you doing when this happened? >> [...] when I start liveusb-creator.
I would dontaudit the access.