Comment 15 for bug 160092

Revision history for this message
JC Boggio (jissouille) wrote :

Same bug on Ubuntu 11.04/ia64 with a Dell 2155cdn.
Manually installed the files from the vendor supplied redhat package (in /usr/lib and /usr/share) and got the following errors :
In the diagnose/troubleshooting window :
E [20/Aug/2011:11:28:12 +0200] [Job 510] Job stopped due to filter errors; please consult the error_log file for details.

And at the end (I guess these 2 are not too harmful) :
E [20/Aug/2011:11:28:17 +0200] Failed to add Avahi entry for Dell 2155cdn Color MFP @ bast: -8
E [20/Aug/2011:11:28:17 +0200] Failed to update TXT record for Dell 2155cdn Color MFP @ bast: -2

And in /var/log/cups/error_log :
D [20/Aug/2011:11:28:12 +0200] [Job 510] PPD: /etc/cups/ppd/Dell-2155cdn-LPD.ppd
D [20/Aug/2011:11:28:12 +0200] [Job 510] /usr/lib/cups/filter/Dell_2155_Color_MFP/DLM_MF: Permission denied
D [20/Aug/2011:11:28:12 +0200] PID 10991 (/usr/lib/cups/filter/Dell_2155_Color_MFP/DLM_MF) stopped with status 22!

Don't know if this might be a problem but the drivers are 32bit :
$ file /usr/lib/cups/filter/Dell_2155_Color_MFP/DLM_MF
/usr/lib/cups/filter/Dell_2155_Color_MFP/DLM_MF: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped

I then tried :
$ sudo aa-complain cupsd

And now the printer works.

This is hopefully the relevant part in kern.log :

Aug 20 14:35:08 bast kernel: [14540.034461] type=1400 audit(1313843708.098:795): apparmor="ALLOWED" operation="exec" parent=1086 profile="/usr/sbin/cupsd" name="/usr/lib/cups/filter/Dell_2155_Color_MFP/DLM_MF" pid=1889 comm="cupsd" requested_mask="x" denied_mask="x" fsuid=7 ouid=0 target="/usr/sbin/cupsd//null-c"
Aug 20 14:35:08 bast kernel: [14540.034782] type=1400 audit(1313843708.098:796): apparmor="ALLOWED" operation="open" parent=1086 profile="/usr/sbin/cupsd//null-c" name="/etc/ld.so.cache" pid=1889 comm="DLM_MF" requested_mask="r" denied_mask="r" fsuid=7 ouid=0
Aug 20 14:35:08 bast kernel: [14540.034793] type=1400 audit(1313843708.098:797): apparmor="ALLOWED" operation="getattr" parent=1086 profile="/usr/sbin/cupsd//null-c" name="/etc/ld.so.cache" pid=1889 comm="DLM_MF" requested_mask="r" denied_mask="r" fsuid=7 ouid=0
Aug 20 14:35:08 bast kernel: [14540.034822] type=1400 audit(1313843708.098:798): apparmor="ALLOWED" operation="open" parent=1086 profile="/usr/sbin/cupsd//null-c" name="/usr/lib32/libcups.so.2" pid=1889 comm="DLM_MF" requested_mask="r" denied_mask="r" fsuid=7 ouid=0
Aug 20 14:35:08 bast kernel: [14540.034836] type=1400 audit(1313843708.098:799): apparmor="ALLOWED" operation="getattr" parent=1086 profile="/usr/sbin/cupsd//null-c" name="/usr/lib32/libcups.so.2" pid=1889 comm="DLM_MF" requested_mask="r" denied_mask="r" fsuid=7 ouid=0
Aug 20 14:35:08 bast kernel: [14540.034853] type=1400 audit(1313843708.098:800): apparmor="ALLOWED" operation="file_mmap" parent=1086 profile="/usr/sbin/cupsd//null-c" name="/usr/lib32/libcups.so.2" pid=1889 comm="DLM_MF" requested_mask="mr" denied_mask="mr" fsuid=7 ouid=0
Aug 20 14:35:08 bast kernel: [14540.034892] type=1400 audit(1313843708.098:801): apparmor="ALLOWED" operation="open" parent=1086 profile="/usr/sbin/cupsd//null-c" name="/lib32/libc-2.13.so" pid=1889 comm="DLM_MF" requested_mask="r" denied_mask="r" fsuid=7 ouid=0
Aug 20 14:35:08 bast kernel: [14540.034905] type=1400 audit(1313843708.098:802): apparmor="ALLOWED" operation="getattr" parent=1086 profile="/usr/sbin/cupsd//null-c" name="/lib32/libc-2.13.so" pid=1889 comm="DLM_MF" requested_mask="r" denied_mask="r" fsuid=7 ouid=0
Aug 20 14:35:08 bast kernel: [14540.034917] type=1400 audit(1313843708.098:803): apparmor="ALLOWED" operation="file_mmap" parent=1086 profile="/usr/sbin/cupsd//null-c" name="/lib32/libc-2.13.so" pid=1889 comm="DLM_MF" requested_mask="mr" denied_mask="mr" fsuid=7 ouid=0
Aug 20 14:35:08 bast kernel: [14540.034962] type=1400 audit(1313843708.098:804): apparmor="ALLOWED" operation="open" parent=1086 profile="/usr/sbin/cupsd//null-c" name="/usr/lib32/libgssapi_krb5.so.2.2" pid=1889 comm="DLM_MF" requested_mask="r" denied_mask="r" fsuid=7 ouid=0

$ dpkg -l cups\* |grep '^ii'
ii cups 1.4.6-5ubuntu1.3 Common UNIX Printing System(tm) - server
ii cups-bsd 1.4.6-5ubuntu1.3 Common UNIX Printing System(tm) - BSD commands
ii cups-client 1.4.6-5ubuntu1.3 Common UNIX Printing System(tm) - client programs (SysV)
ii cups-common 1.4.6-5ubuntu1.3 Common UNIX Printing System(tm) - common files
ii cups-driver-gutenprint 5.2.6-1ubuntu1 printer drivers for CUPS
ii cups-ppdc 1.4.6-5ubuntu1.3

Please let me know if you need further files or tests to definitely solve the problem (I guess the "aa-complain trick" will stop working after reboot).