apparmor rules break filters in /usr/local
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Binary package hint: cupsys
Ubuntu 7.10
local printer attached via USB.
On upgrading to gutsy and rebooting, printing no longer worked. My printer is set up with a 3rd party driver (ptouch), and the ppd file sets up a "foomatic-rip" line with gs output piped to "rastertoptch". This driver gets installed into /usr/local/
After bumping up cupsd's logging, I see messages like "/bin/bash: /usr/local/
After wasting those hours, I have just discovered bug #131470 and now know that this problem is due to cupsd's "app armor" settings.
In particular, /etc/apparmor.
So, this bug could be fixed by:
1) adding read-only access to a bit more of /usr/local in cupsd's apparmor settings, and
2) mentioning app-armor somewhere in /usr/share/
CVE References
affects: | cups → ubuntu |
no longer affects: | ubuntu |
this is related to bug #131470 but I don't think it's a duplicate. this is for a filter other than hplip.