[Touch-packages] [Bug 1371097] Re: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor

2015-08-11 Thread TEN
Probably triggered by some recent package update, Ubuntu 14.04.3 LTS 3.13.0-61-generic #100-Ubuntu SMP Wed Jul 29 11:21:34 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux reports in /var/log/kern.log: type=1400 audit(1439324668.029:103): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name=

[Touch-packages] [Bug 1371097] Re: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor

2014-09-26 Thread Launchpad Bug Tracker
This bug was fixed in the package cups - 1.7.5-2ubuntu1 --- cups (1.7.5-2ubuntu1) utopic; urgency=medium * debian/local/apparmor-profile: - move Ux to Cx -> third_party and provie a third_party child profile. In this manner, we can add some modest confinement (can't change

[Touch-packages] [Bug 1371097] Re: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor

2014-09-24 Thread Jamie Strandboge
** Changed in: cups (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1371097 Title: cupsd is not allowed to access /var/cac

[Touch-packages] [Bug 1371097] Re: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor

2014-09-24 Thread Jamie Strandboge
** Changed in: cups (Ubuntu) Assignee: (unassigned) => Jamie Strandboge (jdstrand) ** Changed in: cups (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cups in Ubuntu. https:

[Touch-packages] [Bug 1371097] Re: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor

2014-09-21 Thread Theodotos Andreou
Should I prepare a patch? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1371097 Title: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor Status in

[Touch-packages] [Bug 1371097] Re: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor

2014-09-21 Thread Theodotos Andreou
The teardown option did the trick! Thanks Martin! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1371097 Title: cupsd is not allowed to access /var/cache/samba/gencache.tdb

Re: [Touch-packages] [Bug 1371097] Re: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor

2014-09-19 Thread Martin Pitt
Theodotos Andreou [2014-09-19 11:11 -]: > Restarted the computer and I still get: That might not be enough. Can you please try sudo /etc/init.d/apparmor teardown sudo /etc/init.d/apparmor start after the profile update (well, you already made that)? That should rebuild the binary apparmo

[Touch-packages] [Bug 1371097] Re: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor

2014-09-19 Thread Theodotos Andreou
Hi Martin, I added the following lines at the end of /etc.apparmor.d/usr.sbin.cupsd: # cupsd needs access to /var/cache/samba/gencache.tdb /var/cache/samba/*.tdb r, } Restarted the computer and I still get: http://paste.ubuntu.com/8379136/ Cups thinks that everything is OK: localhost - -

[Touch-packages] [Bug 1371097] Re: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor

2014-09-19 Thread Martin Pitt
I have no idea what that file is, but reading it seems quite save. So just add /var/cache/samba/*.tdb r, where the other samba related permissions are. ** Also affects: samba (Ubuntu) Importance: Undecided Status: New ** Changed in: cups (Ubuntu) Status: New => Triaged ** No

[Touch-packages] [Bug 1371097] Re: cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor

2014-09-18 Thread Till Kamppeter
pitti, can you have a look what is missing here in the AppArmor profile? Thanks. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1371097 Title: cupsd is not allowed to access