Apparmor prevents printing with cups-pdf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Binary package hint: cupsys
I tried printing a page from Firefox using cups-pdf, and the creation of the PDF failed, with the following errors in /var/log/
E [29/Apr/
E [29/Apr/
E [29/Apr/
E [29/Apr/
E [29/Apr/
E [29/Apr/
Putting the cupsd Apparmor profile in to complain mode (sudo aa-complain cupsd) allowed me to print successfully. After the successful print, I did a 'sudo logprof' to see what file accesses Apparmor was blocking:
Profile: /usr/sbin/cupsd
Path: /var/spool/
Mode: w
Severity: unknown
Some info:
chr1s@chris-
Description: Ubuntu 8.04
Release: 8.04
chr1s@chris-
cupsys:
Installed: 1.3.7-1ubuntu3
Candidate: 1.3.7-1ubuntu3
Version table:
*** 1.3.7-1ubuntu3 0
500 http://
100 /var/lib/
-------
LAST TESTED VERSION: 1.3.9-17ubuntu3 (Jaunty)
WORKAROUNDS:
Disable apparmor for the duration of the print
Putting the cupsd Apparmor profile in to complain mode (sudo aa-complain cupsd)
Changed in cupsys (Ubuntu): | |
status: | Confirmed → Triaged |
affects: | cupsys (Ubuntu) → cups (Ubuntu) |
Brian, AppArmor issues are completely handled by cupsys, since it is
the daemon that does the printing and that includes those AppArmor
rules. Thus, this bug was correctly assigned to cupsys. This is NOT a
cups-pdf issue.
On Thu, Oct 9, 2008 at 2:31 AM, Brian Murray <email address hidden> wrote:
> ** Changed in: cups-pdf (Ubuntu)
> Sourcepackagename: cupsys => cups-pdf
-- q-funk. iki.fi
Martin-Éric Racine
http://