AppArmor does not support non-standard home directory locations - automatic discovery of home directories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Wishlist
|
Jamie Strandboge |
Bug Description
Binary package hint: cups-pdf
my home directory is /myhome/kofler (/myhome being a separate partition)
for this (I agree: special) case, cups-pdf in unable to create ~/PDF or ~/PDF/name.pdf because of apparmor
/var/log/messages
Oct 10 08:22:41 merkur kernel: [ 1599.236000] audit(119199736
Oct 10 08:22:41 merkur kernel: [ 1599.236000] audit(119199736
Oct 10 08:22:41 merkur kernel: [ 1599.236000] audit(119199736
Oct 10 08:27:53 merkur kernel: [ 1910.692000] audit(119199767
Oct 10 08:27:53 merkur kernel: [ 1910.692000] audit(119199767
Oct 10 08:27:53 merkur kernel: [ 1910.692000] audit(119199767
Oct 10 08:39:56 merkur kernel: [ 2633.620000] audit(119199839
Oct 10 08:39:56 merkur kernel: [ 2633.620000] audit(119199839
Oct 10 08:39:56 merkur kernel: [ 2633.712000] audit(119199839
Changed in apparmor: | |
status: | Confirmed → Triaged |
I think this is not a bug but intended behaviour. Apparmor is all about restricting access to locations on disc after all;-)
I'd recommend tuning /etc/apparmor. d/tunables/ home to include your custom homedir location(s). That should fix all of the apparmor profiles for your setup (even though it might not, apparmor is still pretty raw in ubuntu IMHO). Well, any breakage after the change I proposed is a new bug:-)
Best regards,
Tobias