ON a clean install i still get this error. 
Tried all the suggested solutions but nothing seems to work. 

dmesg indicates that apparmour is still not accepting the printing. 
[ 7565.200544] type=1400 audit(1359017270.893:39): apparmor="DENIED" 
operation="mknod" parent=5243 profile="/usr/lib/cups/backend/cups-pdf" 
name="/home/INTRANET/mikael/PDF/CADint_Schema.pdf" pid=5244 comm="gs" 
requested_mask="c" denied_mask="c" fsuid=1234700933 ouid=1234700933

Any ideas?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/224365

Title:
  Apparmor prevents printing with cups-pdf

Status in “cups” package in Ubuntu:
  Fix Released

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/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:
  chr1s@chris-desktop:~$ lsb_release -rd
  Description:  Ubuntu 8.04
  Release:      8.04
  chr1s@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)

  WORKAROUNDS: 
  Disable apparmor for the duration of the print
  Putting the cupsd Apparmor profile in to complain mode (sudo aa-complain 
cupsd)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/224365/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to