[Bug 217787] Re: cups crashes when using web-gui and refuses to print
Steve Langasek
steve.langasek at canonical.com
Fri May 2 22:12:26 BST 2008
Updated apparmor package accepted into hardy-proposed. Thomas, can you
please confirm that this fixes your issue with libpam-smbpass installed?
** Changed in: samba (Ubuntu Hardy)
Status: New => Won't Fix
** Changed in: apparmor (Ubuntu Hardy)
Importance: Undecided => High
Assignee: (unassigned) => Jamie Strandboge (jdstrand)
Status: New => Triaged
Target: None => ubuntu-8.04.1
** Changed in: apparmor (Ubuntu Intrepid)
Target: ubuntu-8.04.1 => None
** Changed in: apparmor (Ubuntu Hardy)
Status: Triaged => Fix Committed
Target: ubuntu-8.04.1 => None
** Changed in: samba (Ubuntu Hardy)
Status: Won't Fix => Fix Committed
** Tags added: verification-needed
** Changed in: samba (Ubuntu Hardy)
Status: Fix Committed => Won't Fix
** Description changed:
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
+ - 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.
** Description changed:
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
+ - 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.
--
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
Server Team, which is subscribed to samba in ubuntu.
More information about the Ubuntu-server-bugs
mailing list