Just had it happen:
cupsys:
Installed: 1.3.9-17ubuntu3
Candidate: 1.3.9-17ubuntu3
Version table:
*** 1.3.9-17ubuntu3 0
500 http://archive.ubuntu.com jaunty-updates/universe Packages
100 /var/lib/dpkg/status
1.3.9-17ubuntu1 0
500 http://archive.ubuntu.com jaunty/universe Packages
Description: Ubuntu 9.04
Release: 9.04
E [05/May/2009:16:24:02 -0500] PID 15793 (/usr/lib/cups/backend/cups-pdf)
stopped with status 5!
** Description changed:
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/cups/error_log:
E [29/Apr/2008:20:10:23 +0100] PID 8159 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:11:18 +0100] PID 8197 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:16:37 +0100] PID 8280 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:21:51 +0100] PID 8405 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:26:04 +0100] PID 8467 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:26:12 +0100] [Job 38] Canceling job since it could not be
sent after 5 tries.
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/cups-pdf/SPOOL/cups2pdf-8519
Mode: w
Severity: unknown
Some info:
ch...@chris-desktop:~$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
ch...@chris-desktop:~$ apt-cache policy cupsys
cupsys:
Installed: 1.3.7-1ubuntu3
Candidate: 1.3.7-1ubuntu3
Version table:
*** 1.3.7-1ubuntu3 0
500 http://archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
+
+ ------------------------------
+ LAST TESTED VERSION: 1.3.9-17ubuntu3
+
+ WORKAROUND: Disable apparmor for the duration of the print
** Changed in: cupsys (Ubuntu)
Status: New => Confirmed
** Description changed:
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/cups/error_log:
E [29/Apr/2008:20:10:23 +0100] PID 8159 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:11:18 +0100] PID 8197 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:16:37 +0100] PID 8280 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:21:51 +0100] PID 8405 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:26:04 +0100] PID 8467 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:26:12 +0100] [Job 38] Canceling job since it could not be
sent after 5 tries.
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/cups-pdf/SPOOL/cups2pdf-8519
Mode: w
Severity: unknown
Some info:
ch...@chris-desktop:~$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
ch...@chris-desktop:~$ apt-cache policy cupsys
cupsys:
Installed: 1.3.7-1ubuntu3
Candidate: 1.3.7-1ubuntu3
Version table:
*** 1.3.7-1ubuntu3 0
500 http://archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
------------------------------
- LAST TESTED VERSION: 1.3.9-17ubuntu3
+ LAST TESTED VERSION: 1.3.9-17ubuntu3 (Jaunty)
WORKAROUND: Disable apparmor for the duration of the print
** Description changed:
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/cups/error_log:
E [29/Apr/2008:20:10:23 +0100] PID 8159 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:11:18 +0100] PID 8197 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:16:37 +0100] PID 8280 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:21:51 +0100] PID 8405 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:26:04 +0100] PID 8467 (/usr/lib/cups/backend/cups-pdf)
stopped with status 22!
E [29/Apr/2008:20:26:12 +0100] [Job 38] Canceling job since it could not be
sent after 5 tries.
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/cups-pdf/SPOOL/cups2pdf-8519
Mode: w
Severity: unknown
Some info:
ch...@chris-desktop:~$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
ch...@chris-desktop:~$ apt-cache policy cupsys
cupsys:
Installed: 1.3.7-1ubuntu3
Candidate: 1.3.7-1ubuntu3
Version table:
*** 1.3.7-1ubuntu3 0
500 http://archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
------------------------------
LAST TESTED VERSION: 1.3.9-17ubuntu3 (Jaunty)
- WORKAROUND: Disable apparmor for the duration of the print
+ WORKAROUNDS:
+ Disable apparmor for the duration of the print
+ Putting the cupsd Apparmor profile in to complain mode (sudo aa-complain
cupsd)
--
Apparmor prevents printing with cups-pdf
https://bugs.launchpad.net/bugs/224365
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs