← Back to team overview

touch-packages team mailing list archive

[Bug 147551] Re: cups-pdf fails to generate file when user does not print to default ~/PDF (apparmor vs.cups-pdf inconsistency)

 

Found interesting moment:
  my home folder has two partitions (with AuFS), cups-pdf stopped to work after such migration with  messages:
  [ERROR] failed to create user output directory (/home/norbert/PDF)

  Oct  8 22:26:52 localhost kernel: [ 1266.664351] type=1400
audit(1412792812.136:170): apparmor="DENIED" operation="mknod"
profile="/usr/lib/cups/backend/cups-pdf"
name="/mnt/UHOME_HDD/norbert/PDF/Untitled_Document_1.pdf" pid=7276
comm="gs" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000

I got it working again after adding /mnt/UHOME_HDD and /mnt/UHOME_SSD as
homes to 'dpkg-reconfigure apparmor'. Hope it help somebody.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/147551

Title:
  cups-pdf fails to generate file when user does not print to default
  ~/PDF (apparmor vs.cups-pdf inconsistency)

Status in “apparmor” package in Ubuntu:
  Invalid
Status in “cups-pdf” package in Ubuntu:
  Invalid
Status in “cupsys” package in Ubuntu:
  Won't Fix

Bug description:
  I had a working cups-pdf setup in Feisty, but after the upgrade to
  Gutsy it doesn't work anymore.

  The log file says:

  Mon Oct  1 10:05:49 2007  [STATUS] PDF creation successfully finished (nobody)
  Mon Oct  1 10:14:51 2007  [ERROR] failed to set file mode for PDF file (non fatal) (/home/hunzikea/Desktop/Report_a_bug.pdf)
  Mon Oct  1 10:14:51 2007  [STATUS] PDF creation successfully finished (hunzikea)

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