I think I bumped to the same bug on Kubuntu 10.10 HP USB printer that suddenly stoppoed working (I run a long list of upgrades yesterday).
in /etc/apparmor.d/usr.sbin.cupsd I don't have line /usr/local/** r at all: rhk@ribantu:~$ cat /etc/apparmor.d/usr.sbin.cupsd |grep "usr/local" /usr/local/share/** r, rhk@ribantu:~$ I tried sudo aa-complain cupsd (without restarting) and no help. dmesg output: [33427.820037] usb 6-2: new full speed USB device using uhci_hcd and address 3 [33428.998956] usblp0: USB Bidirectional printer dev 3 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0C17 [33428.998983] usbcore: registered new interface driver usblp [33430.402012] usb 6-2: usbfs: interface 0 claimed by usblp while 'usb' sets config #1 [33430.438730] type=1400 audit(1299514018.176:17): apparmor="DENIED" operation="open" parent=31216 profile="/usr/sbin/cupsd" name="/dev/ttyUSB0" pid=31220 comm="serial" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 [33850.791312] usb 6-2: USB disconnect, address 3 [33850.791437] usblp0: removed [33860.820679] usb 6-2: new full speed USB device using uhci_hcd and address 4 [33861.020628] usblp0: USB Bidirectional printer dev 4 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0C17 [33862.285372] type=1400 audit(1299514450.026:18): apparmor="DENIED" operation="open" parent=32178 profile="/usr/sbin/cupsd" name="/dev/ttyUSB0" pid=32182 comm="serial" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 [33862.340186] usb 6-2: usbfs: interface 0 claimed by usblp while 'usb' sets config #1 [34095.540122] usb 6-2: USB disconnect, address 4 [34095.540251] usblp0: removed [34104.630019] usb 6-2: new full speed USB device using uhci_hcd and address 5 [34104.890986] usblp0: USB Bidirectional printer dev 5 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0C17 [34106.137494] usb 6-2: usbfs: interface 0 claimed by usblp while 'usb' sets config #1 [34106.147683] type=1400 audit(1299514693.886:19): apparmor="DENIED" operation="open" parent=32222 profile="/usr/sbin/cupsd" name="/dev/ttyUSB0" pid=32226 comm="serial" requested_mask="w" denied_mask="w" fsuid=0 ouid=0 [34288.520442] type=1400 audit(1299514876.266:20): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=32315 comm="apparmor_parser" [34288.520578] type=1400 audit(1299514876.266:21): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=32315 comm="apparmor_parser" [34322.649215] type=1400 audit(1299514910.386:22): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=32353 comm="apparmor_parser" [34322.649348] type=1400 audit(1299514910.386:23): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=32353 comm="apparmor_parser" -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
