Comment 2 for bug 235646

Revision history for this message
Matt Austin (mattaustin) wrote :

Thanks for your help in diagnosing this Mathias.

I changed line 16 in /etc/apparmor.d/tunables

From:
@{HOME}=@{HOMEDIRS}/*/ /root/

To:
@{HOME}=@{HOMEDIRS}/*/ /root/ @{HOMEDIRS}/CORP/*/

I can now sucessfully print to PDF. However the following is still generated in kern.log (only the one error now):
May 30 13:34:18 matt-seo kernel: [277977.041945] audit(1212125658.677:11): type=1503 operation="inode_permission" requested_mask="w::" denied_mask="w::" name="/var/lib/likewise-open/lwidentity_privileged/pipe" pid=28593 profile="/usr/lib/cups/backend/cups-pdf" namespace="default"

"CORP" is the name of the windows domain I have joined (using likewise-open). My home directory is: /home/CORP/matt/

I guess the problem is due to the way AppArmor defines the home path?