[pkg-apparmor] Bug#882937: apparmor: cupsd profile blocks creation of PDF files with printer-driver-cups-pdf

intrigeri intrigeri at debian.org
Tue Nov 28 09:18:27 UTC 2017


Control: reassign -1 cups-daemon
Control: tag -1 + moreinfo
Control: user pkg-apparmor-team at lists.alioth.debian.org
Control: usertags -1 + help-needed

Hi,

Nuno Oliveira:
> Enabling apparmor blocks the creation of PDF files with 
> printer-driver-cups-pdf, since the output files are created in 
> ~/PDF. Temporarily disabling the /etc/apparmor.d/usr.sbin.cupsd profile 
> restores printing to pdf files.

Thanks for your bug report!

The usr.sbin.cupsd profile is supposed to run cups-pdf under
a dedicated child profile (/usr/lib/cups/backend/cups-pdf) which does
allow write access to ~/PDF, so this is a bug in the current
implementation, not simply something that would have been forgotten.

Could you please share the AppArmor denial logs?
(https://wiki.debian.org/AppArmor/Debug)
If you're not willing to do that, just let me know and I'll try to reproduce.

Thanks in advance :)

Cheers,
-- 
intrigeri



More information about the pkg-apparmor-team mailing list