USB printer disconnect...

Tom London selinux at gmail.com
Tue Oct 26 15:23:46 UTC 2004


Running strict/enforcing with latest Rawhide (.643, ...)

Disconnecting a USB printer after the system has booted up
in graphical mode produces an avc for 'alternatives' followed
by a host of avc for 'killall':

Oct 26 08:07:08 fedora ptal-mlcd: ERROR at ExMgr.cpp:3209,
dev=<mlc:usb:PSC_900_Series@/dev/usb/lp0>, pid=2440, e=19,
t=1098803228         llioSubprocess: llioRead returns -1, expected=6!
Oct 26 08:07:08 fedora udev[3858]: removing device node '/dev/usb/lp0'
Oct 26 08:07:08 fedora kernel: usb 3-2: USB disconnect, address 2
Oct 26 08:07:08 fedora ptal-mlcd: ERROR at ExMgr.cpp:2820,
dev=<mlc:usb:PSC_900_Series@/dev/usb/lp0>, pid=2417, e=11,
t=1098803228         llioService: fdRead returns 0, expected=6!
Oct 26 08:07:08 fedora ptal-mlcd: ERROR at ExMgr.cpp:871,
dev=<mlc:usb:PSC_900_Series@/dev/usb/lp0>, pid=2417, e=32,
t=1098803228         exClose(reason=0x0010)
Oct 26 08:07:08 fedora kernel: drivers/usb/class/usblp.c: usblp0: removed
Oct 26 08:07:12 fedora kernel: audit(1098803232.090:0): avc:  denied 
{ getattr } for  pid=3902 exe=/usr/sbin/alternatives
path=/var/lib/alternatives dev=hda2 ino=4456489
scontext=system_u:system_r:cupsd_config_t
tcontext=system_u:object_r:rpm_var_lib_t tclass=dir
Oct 26 08:07:12 fedora kernel: audit(1098803232.111:0): avc:  denied 
{ search } for  pid=3903 exe=/usr/bin/killall name=selinux dev=hda2
ino=4509743 scontext=system_u:system_r:cupsd_config_t
tcontext=system_u:object_r:selinux_config_t tclass=dir
Oct 26 08:07:12 fedora kernel: audit(1098803232.113:0): avc:  denied 
{ search } for  pid=3903 exe=/usr/bin/killall name=1 dev=proc
ino=65538 scontext=system_u:system_r:cupsd_config_t
tcontext=system_u:system_r:init_t tclass=dir
Oct 26 08:07:12 fedora kernel: audit(1098803232.113:0): avc:  denied 
{ search } for  pid=3903 exe=/usr/bin/killall name=2 dev=proc
ino=131074 scontext=system_u:system_r:cupsd_config_t
tcontext=system_u:system_r:kernel_t tclass=dir
Oct 26 08:07:12 fedora kernel: audit(1098803232.113:0): avc:  denied 
{ search } for  pid=3903 exe=/usr/bin/killall name=3 dev=proc
ino=196610 scontext=system_u:system_r:cupsd_config_t
tcontext=system_u:system_r:kernel_t tclass=dir
Oct 26 08:07:12 fedora kernel: audit(1098803232.113:0): avc:  denied 
{ search } for  pid=3903 exe=/usr/bin/killall name=4 dev=proc
ino=262146 scontext=system_u:system_r:cupsd_config_t
tcontext=system_u:system_r:kernel_t tclass=dir
Oct 26 08:07:12 fedora kernel: audit(1098803232.113:0): avc:  denied 
{ search } for  pid=3903 exe=/usr/bin/killall name=5 dev=proc
ino=327682 scontext=system_u:system_r:cupsd_config_t
tcontext=system_u:system_r:kernel_t tclass=dir
Oct 26 08:07:12 fedora kernel: audit(1098803232.113:0): avc:  denied 
{ search } for  pid=3903 exe=/usr/bin/killall name=22 dev=proc
ino=1441794 scontext=system_u:system_r:cupsd_config_t
tcontext=system_u:system_r:kernel_t tclass=dir
Oct 26 08:07:12 fedora kernel: audit(1098803232.114:0): avc:  denied 
{ search } for  pid=3903 exe=/usr/bin/killall name=32 dev=proc
ino=2097154 scontext=system_u:system_r:cupsd_config_t
tcontext=system_u:system_r:kernel_t tclass=dir

<<< SNIP about 100 avc's like the above>>>>

Oct 26 08:07:29 fedora kernel: ohci_hcd 0000:00:03.1: wakeup

tom

-- 
Tom London




More information about the fedora-selinux-list mailing list