Comment 22 for bug 160092

Revision history for this message
L. POUZENC (lpouzenc) wrote :

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.