hald - r/w access to /dev/usb/lp0?

Tom London selinux at gmail.com
Sat Sep 25 18:27:06 UTC 2004


When haldaemon starts, and typically just after the text 'login:'
appears but before the graphical stuff takes over, I get:

Sep 25 10:28:57 fedora kernel: audit(1096133337.944:0): avc:  denied 
{ read write } for  pid=3187 exe=/usr/sbin/hald name=lp0 dev=tmpfs
ino=5073 scontext=system_u:system_r:hald_t
tcontext=system_u:object_r:printer_device_t tclass=chr_file

referring to /dev/usb/lp0.

Does hald need read/write access to the printer_device?

Seems strange, but if so, we need to add to hald.te.  If not,
any idea what's happening?

tom

-- 
Tom London



More information about the fedora-selinux-list mailing list