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.
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: 2007:12: 44:17 +0200] [cups-driverd] Unable to open PPD directory "/opt/share/ppd": No such file or directory 2007:12: 44:17 +0200] [cups-driverd] Unable to write "/var/cache/ cups/ppds. dat" - Permission denied 2007:12: 44:33 +0200] CUPS-Add- Modify- Printer: Unauthorized
E [17/Aug/
E [17/Aug/
E [17/Aug/
trying to print (doesn't work, always state "Stopped: job-stopped"): 2007:12: 45:13 +0200] PID 18894 (/usr/lib/ cups/filter/ foomatic- rip) stopped with status 3! 2007:12: 45:13 +0200] [Job 28] Job stopped due to filter errors.
E [17/Aug/
E [17/Aug/
removing the printer: 2007:12: 45:38 +0200] CUPS-Delete- Printer: Unauthorized
E [17/Aug/
when not canceling the stopped printer job, the error-log gets floated with these messages: 2007:12: 56:23 +0200] cupsdAuthorize: Local authentication certificate not found!
E [17/Aug/
dmesg output contains: 0.312:79) : PERMITTING w access to /etc/printcap (cupsd(17834) profile /usr/sbin/cupsd active /usr/sbin/cupsd) 0.312:80) : PERMITTING attribute (size,mtime,ctime,) change to /etc/printcap (cupsd(17834) profile /usr/sbin/cupsd active /usr/sbin/cupsd) 6.269:81) : PERMITTING w access to /etc/printcap (cupsd(17834) profile /usr/sbin/cupsd active /usr/sbin/cupsd) 6.269:82) : PERMITTING attribute (size,mtime,ctime,) change to /etc/printcap (cupsd(17834) profile /usr/sbin/cupsd active /usr/sbin/cupsd) 7.858:83) : PERMITTING rw access to /dev/tty (bash(19688) profile /usr/sbin/cupsd active /usr/sbin/cupsd) 7.870:84) : PERMITTING rw access to /dev/tty (bash(19691) profile /usr/sbin/cupsd active /usr/sbin/cupsd)
[23047.811124] audit(118734791
[23047.811145] audit(118734791
[23063.755197] audit(118734792
[23063.755217] audit(118734792
[23085.323507] audit(118734794
[23085.338190] audit(118734794
I tried reinstalling cups, hplip, and running "sudo aa-complain cupsd". It all didn't help.