I don't know if this is related to AppArmor, but right now I'm getting
these errors in /var/log/cups/error_log when trying to use an HP
Photosmart 8150:

adding the printer:
E [17/Aug/2007:12:44:17 +0200] [cups-driverd] Unable to open PPD directory 
"/opt/share/ppd": No such file or directory
E [17/Aug/2007:12:44:17 +0200] [cups-driverd] Unable to write 
"/var/cache/cups/ppds.dat" - Permission denied
E [17/Aug/2007:12:44:33 +0200] CUPS-Add-Modify-Printer: Unauthorized

trying to print (doesn't work, always state "Stopped: job-stopped"):
E [17/Aug/2007:12:45:13 +0200] PID 18894 (/usr/lib/cups/filter/foomatic-rip) 
stopped with status 3!
E [17/Aug/2007:12:45:13 +0200] [Job 28] Job stopped due to filter errors.

removing the printer:
E [17/Aug/2007:12:45:38 +0200] CUPS-Delete-Printer: Unauthorized

when not canceling the stopped printer job, the error-log gets floated with 
these messages:
E [17/Aug/2007:12:56:23 +0200] cupsdAuthorize: Local authentication certificate 
not found!

dmesg output contains:
[23047.811124] audit(1187347910.312:79): PERMITTING w access to /etc/printcap 
(cupsd(17834) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
[23047.811145] audit(1187347910.312:80): PERMITTING attribute 
(size,mtime,ctime,) change to /etc/printcap (cupsd(17834) profile 
/usr/sbin/cupsd active /usr/sbin/cupsd)
[23063.755197] audit(1187347926.269:81): PERMITTING w access to /etc/printcap 
(cupsd(17834) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
[23063.755217] audit(1187347926.269:82): PERMITTING attribute 
(size,mtime,ctime,) change to /etc/printcap (cupsd(17834) profile 
/usr/sbin/cupsd active /usr/sbin/cupsd)
[23085.323507] audit(1187347947.858:83): PERMITTING rw access to /dev/tty 
(bash(19688) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
[23085.338190] audit(1187347947.870:84): PERMITTING rw access to /dev/tty 
(bash(19691) profile /usr/sbin/cupsd active /usr/sbin/cupsd)

I tried reinstalling cups, hplip, and running "sudo aa-complain cupsd".
It all didn't help.

-- 
AppArmor profile breaks printing with hplip
https://bugs.launchpad.net/bugs/131470
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to