Comment 7 for bug 172813

Revision history for this message
Richard Wilbur (richard-wilbur) wrote :

I have an Apple iBook G4 PPC connected through USB to an HP Deskjet 5650W printer which has worked for quite a while. Recently I upgraded from Feisty Fawn (7.04) to Gutsy Gibbon (7.10) and then on to Hardy Heron (8.04). (I have kept it up-to-date as of a couple hours ago.) In Hardy Heron I see a problem with printing that I didn't see in Feisty Fawn which is described in /var/log/cups/error.log as:
E [26/Oct/2008:21:23:43 -0600] [Job 129] No %%BoundingBox: comment in header!
E [26/Oct/2008:21:27:37 -0600] cupsdAuthorize: Local authentication certificate not found!
E [26/Oct/2008:21:27:37 -0600] cupsdAuthorize: Local authentication certificate not found!
E [26/Oct/2008:21:27:37 -0600] cupsdAuthorize: Local authentication certificate not found!
E [26/Oct/2008:21:30:02 -0600] [Job 130] No %%BoundingBox: comment in header!
E [26/Oct/2008:21:31:51 -0600] cupsdAuthorize: Local authentication certificate not found!
E [26/Oct/2008:21:31:51 -0600] cupsdAuthorize: Local authentication certificate not found!
E [26/Oct/2008:21:31:51 -0600] cupsdAuthorize: Local authentication certificate not found!
E [26/Oct/2008:21:44:20 -0600] [CGI] Unable to scan "@LOCAL"!
E [26/Oct/2008:21:44:23 -0600] [cups-driverd] Unable to write "/var/cache/cups/ppds.dat" - Permission denied
E [26/Oct/2008:21:45:01 -0600] [CGI] Unable to scan "@LOCAL"!
E [26/Oct/2008:21:45:14 -0600] [cups-driverd] Unable to write "/var/cache/cups/ppds.dat" - Permission denied
E [26/Oct/2008:21:45:41 -0600] cupsdAuthorize: Local authentication certificate not found!
E [26/Oct/2008:21:45:41 -0600] CUPS-Add-Modify-Printer: Unauthorized
E [26/Oct/2008:21:45:41 -0600] PID 26280 (/usr/lib/cups/filter/foomatic-rip) crashed on signal 9!
E [26/Oct/2008:21:45:41 -0600] PID 26281 (/usr/lib/cups/backend/hp) crashed on signal 9!
E [26/Oct/2008:21:45:41 -0600] [Job 130] No %%BoundingBox: comment in header!
E [26/Oct/2008:21:46:14 -0600] cupsdAuthorize: Local authentication certificate not found!
E [26/Oct/2008:21:46:14 -0600] CUPS-Set-Default: Unauthorized

So I searched for '%%BoundingBox' issues on Launchpad and read the advice above concerning A
ppArmor.

rwilbur@transform:~$ sudo aa-complain cupsd
Setting /etc/apparmor.d/usr.sbin.cupsd to complain mode.

I connected to the printer and tried again with the following

rwilbur@transform:/var/log$ sudo tail messages
Oct 27 12:48:43 transform kernel: [203211.547348] usb 3-1: new full speed USB device using ohci_hcd and address 4
Oct 27 12:48:43 transform kernel: [203211.771641] usb 3-1: configuration #1 chosen from 1 choice
Oct 27 12:48:43 transform kernel: [203211.787706] usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0x6104
Oct 27 12:49:32 transform kernel: [203260.592441] usblp0: removed
Oct 27 12:49:33 transform kernel: [203260.951166] audit(1225133373.077:9): type=1502 operation="inode_permission" requested_mask="::rw" denied_mask="::rw" name="/dev/tty" pid=13055 profile="/usr/sbin/cupsd" namespace="default"

The audit entry looks remarkably similar to Tom's above, even though I have a local printer!