Reply for comment #15, #20, #21 :

I have the same problem with an Dell_2150_Color_Printer printer.

I just have edited the /etc/apparmor.d/usr.sbin.cupsd file and added a
line to say "I want to my Dell filter ran unconfined mode ("Ux" mode,
see man 5 apparmor.d).

root@host:~# diff -p usr.sbin.cupsd.orig usr.sbin.cupsd
*** usr.sbin.cupsd.orig 2011-11-25 19:37:00.718556722 +0100
--- usr.sbin.cupsd      2011-11-25 19:36:28.383040010 +0100
***************
*** 98,103 ****
--- 98,105 ----
    # filters and drivers (PPD generators) are always run as non-root,
    # and there are a lot of third-party drivers which we cannot predict
    /usr/lib/cups/filter/* Uxr, 
+ #lpo : Ajout du sous-dossier du driver DELL
+   /usr/lib/cups/filter/Dell_2150_Color_Printer/* Uxr, 
    /usr/lib/cups/driver/* Uxr,
    /usr/local/** r,
    /usr/local/lib/cups/** rix,

And now, that works. No more "Permission denied" in
/var/log/cups/error_log and no messages in kernel.log.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/160092

Title:
  apparmor rules break filters in /usr/local

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/160092/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to