[Bug 217787] [NEW] cups crashes when using web-gui and refuses to print

Launchpad Bug Tracker 217787 at bugs.launchpad.net
Fri Dec 2 21:22:03 UTC 2011


You have been subscribed to a public bug:

Binary package hint: cupsys

I tried to print today but the printing job was just put in the queue
and nothing was printed. I did not get the printer icon in the
notification area.

I noticed how I got errors in auth.log from cups:

Apr 15 15:42:56 thnov-desktop cupsd: PAM unable to dlopen(/lib/security/pam_smbpass.so)
Apr 15 15:42:56 thnov-desktop cupsd: PAM [error: /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory]

I found that in bug #216990 this was solved by installing libpam-
smbpass. Why was i missing this package?

Anyway, after I installed it, still I cannot print. I restarted cups via
'/etc/init.d/cupsys restart' and I can see that user lp has a couple of
processes which seems to be handling by printing jobs.

When I go to localhost:631 in a browser cups immediately crashes. This
crash is not picked up by apport nor is anything written in /var/crash.

I started the process manually so I could see the crash:

$ sudo /usr/sbin/cupsd -f
sh: /usr/share/samba/panic-action: Permission denied
Aborted (core dumped)

So, every time I restart cups now my jobs are being processed but
nothing is being printed. I see no activity at my printer. As soon as I
try to use the web gui it crashes.

$ lsb_release -rd
Description:    Ubuntu hardy (development branch)
Release:        8.04
$ dpkg -l | grep cups
ii  bluez-cups                                 3.26-0ubuntu5                                      Bluetooth printer driver for CUPS
ii  cups-pdf                                   2.4.6-4ubuntu2                                     PDF printer for CUPS
ii  cupsddk                                    1.2.0-0ubuntu1                                     CUPS Driver Development Kit
ii  cupsddk-drivers                            1.2.0-0ubuntu1                                     CUPS Driver Development Kit - Driver files
ii  cupsys                                     1.3.7-1ubuntu2                                     Common UNIX Printing System(tm) - server
ii  cupsys-bsd                                 1.3.7-1ubuntu2                                     Common UNIX Printing System(tm) - BSD comman
ii  cupsys-client                              1.3.7-1ubuntu2                                     Common UNIX Printing System(tm) - client pro
ii  cupsys-common                              1.3.7-1ubuntu2                                     Common UNIX Printing System(tm) - common fil
ii  cupsys-driver-gutenprint                   5.0.2-2ubuntu1                                     printer drivers for CUPS
ii  hal-cups-utils                             0.6.13+svn86-0ubuntu4                              CUPS integration with HAL
ii  libcupsimage2                              1.3.7-1ubuntu2                                     Common UNIX Printing System(tm) - image libs
ii  libcupsys2                                 1.3.7-1ubuntu2                                     Common UNIX Printing System(tm) - libs
ii  libgnomecups1.0-1                          0.2.3-1ubuntu1                                     GNOME library for CUPS interaction
ii  python-cups                                1.9.34-0ubuntu1                                    Python bindings for CUPS

TEST CASE:
- install libpam-smbpass and cupsys
- adjust all the 'Require user' directives to point to a non-existant user
- go to http://localhost:631/ and try to change/save the configuration file.

** Affects: apparmor (Ubuntu)
     Importance: High
     Assignee: Jamie Strandboge (jdstrand)
         Status: Fix Released

** Affects: samba (Ubuntu)
     Importance: Undecided
     Assignee: neil.james130 at ntlworld.com (neil-james130)
         Status: Triaged

** Affects: apparmor (Ubuntu Hardy)
     Importance: High
     Assignee: Jamie Strandboge (jdstrand)
         Status: Fix Released

** Affects: samba (Ubuntu Hardy)
     Importance: Undecided
     Assignee: neil.james130 at ntlworld.com (neil-james130)
         Status: Won't Fix

** Affects: apparmor (Ubuntu Intrepid)
     Importance: High
     Assignee: Jamie Strandboge (jdstrand)
         Status: Fix Released

** Affects: samba (Ubuntu Intrepid)
     Importance: Undecided
         Status: Won't Fix


** Tags: verification-done
-- 
cups crashes when using web-gui and refuses to print
https://bugs.launchpad.net/bugs/217787
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to samba in Ubuntu.




More information about the foundations-bugs mailing list