Ooops. Ignore the previous post. Those were the wrong instructions.
These are the correct ones:


1. Install fresh copy of Ubuntu.

2. Install printer-driver-cups-pdf.

3. Change cups-pdf's output directory in /etc/cups/cups-pdf.conf to some
directory outside of the user's home directory, and that the user has
write access to that directory's parent.

4. Make sure the directory defined in step 3 does not exist.

5. Attempt to print using CUPS PDF.

6. Notice the DENIED error in dmesg, and the directory defined in step 3
still does not exist.

6. Notice that cups-pdf lacks an apparmor profile of it's own and is
stored alongside the cupsd profile in /etc/apparmor.d

7. Notice that unlike cupsd, cups-pdf's profile does not have an include
statement for local profile modifications in /etc/apparmor.d/local

8. Attempt to change the default profile for cups-pdf anyway, reload the
new default profile, and try to print again.

9. Find your pdf in the directory defined in step 3.

10. Wait until the cups package is updated again. (Accept the maintainer
version of /etc/apparmor.d/usr.sbin.cupsd when asked.)

11. Notice your changes to the default profile have been wiped out by
the update, and you can no longer print using CUPS PDF if the directory
defined in step 3 is moved or deleted.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1698693

Title:
  cups-pdf blocked by apparmor

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to