Hi, I had this problem with current Ubuntu version (10.10). After some update, the printer, that is a Lexmark with the driver provided by the manufacturer, stopped working. I found this bug and after using the suggest command
sudo aa-complain cupsd ^^^ The printer started working again. So I think there is still a bug, or a new one, as long as I should not be obligated to do such command (luckily I found it). Bellow the dmesg output, with the first lines showing the situation before the aa-complain and the last ones with successful printing, after the command. I can provide additional information if it's necessary. Thanks, DiegoV [ 9153.073027] type=1400 audit(1292948087.453:16): apparmor="DENIED" operation="exec" parent=3189 profile="/usr/sbin/cupsd" name="/usr/local/lexmark/lxk08/bin/lxkusb" pid=3190 comm="cups-deviced" requested_mask="x" denied_mask="x" fsuid=7 ouid=0 [ 9153.158526] usb 3-1: usbfs: interface 1 claimed by usblp while 'usb' sets config #1 [ 9163.210030] type=1400 audit(1292948097.593:17): apparmor="DENIED" operation="exec" parent=1014 profile="/usr/sbin/cupsd" name="/usr/local/lexmark/lxk08/bin/printdriver" pid=3197 comm="cupsd" requested_mask="x" denied_mask="x" fsuid=7 ouid=0 [ 9200.472067] CE: hpet increased min_delta_ns to 7500 nsec [ 9391.968515] type=1400 audit(1292948326.349:18): apparmor="DENIED" operation="exec" parent=3237 profile="/usr/sbin/cupsd" name="/usr/local/lexmark/lxk08/bin/lxkusb" pid=3238 comm="cups-deviced" requested_mask="x" denied_mask="x" fsuid=7 ouid=0 [ 9392.075956] usb 3-1: usbfs: interface 1 claimed by usblp while 'usb' sets config #1 [ 9412.345226] type=1400 audit(1292948346.729:19): apparmor="DENIED" operation="exec" parent=3257 profile="/usr/sbin/cupsd" name="/usr/local/lexmark/lxk08/bin/lxkusb" pid=3258 comm="cups-deviced" requested_mask="x" denied_mask="x" fsuid=7 ouid=0 [ 9412.460648] usb 3-1: usbfs: interface 1 claimed by usblp while 'usb' sets config #1 [ 9796.461360] type=1400 audit(1292948730.845:20): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=3459 comm="apparmor_parser" [ 9796.461620] type=1400 audit(1292948730.845:21): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=3459 comm="apparmor_parser" [ 9813.381693] type=1400 audit(1292948747.765:22): apparmor="ALLOWED" operation="exec" parent=1014 profile="/usr/sbin/cupsd" name="/usr/local/lexmark/lxk08/bin/printdriver" pid=3462 comm="cupsd" requested_mask="x" denied_mask="x" fsuid=7 ouid=0 target="/usr/sbin/cupsd//null-d" [ 9813.400482] type=1400 audit(1292948747.781:23): apparmor="ALLOWED" operation="open" parent=1014 profile="/usr/sbin/cupsd//null-d" name="/etc/ld.so.cache" pid=3462 comm="printdriver" requested_mask="r" denied_mask="r" fsuid=7 ouid=0 [ 9813.400500] type=1400 audit(1292948747.781:24): apparmor="ALLOWED" operation="getattr" parent=1014 profile="/usr/sbin/cupsd//null-d" name="/etc/ld.so.cache" pid=3462 comm="printdriver" requested_mask="r" denied_mask="r" fsuid=7 ouid=0 [ 9813.400546] type=1400 audit(1292948747.781:25): apparmor="ALLOWED" operation="open" parent=1014 profile="/usr/sbin/cupsd//null-d" name="/lib/libpthread-2.12.1.so" pid=3462 comm="printdriver" requested_mask="r" denied_mask="r" fsuid=7 ouid=0 [ 9813.400572] type=1400 audit(1292948747.781:26): apparmor="ALLOWED" operation="getattr" parent=1014 profile="/usr/sbin/cupsd//null-d" name="/lib/libpthread-2.12.1.so" pid=3462 comm="printdriver" requested_mask="r" denied_mask="r" fsuid=7 ouid=0 [ 9813.400589] type=1400 audit(1292948747.781:27): apparmor="ALLOWED" operation="file_mmap" parent=1014 profile="/usr/sbin/cupsd//null-d" name="/lib/libpthread-2.12.1.so" pid=3462 comm="printdriver" requested_mask="mr" denied_mask="mr" fsuid=7 ouid=0 [ 9813.400669] type=1400 audit(1292948747.781:28): apparmor="ALLOWED" operation="open" parent=1014 profile="/usr/sbin/cupsd//null-d" name="/usr/lib/libcups.so.2" pid=3462 comm="printdriver" requested_mask="r" denied_mask="r" fsuid=7 ouid=0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/160092 Title: apparmor rules break filters in /usr/local -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs