cups cannot be started via initctl

Bug #666907 reported by Thomas Novin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
New
Undecided
Martin Pitt

Bug Description

Binary package hint: cups

After upgrade to Maverick I cannot print on two computers. Both computers failed the upgrade to Maverick because of a hung 'start cups'-process. I had to kill it to be able to continue with the upgrade.

If I do 'sudo start cups' it just hangs indefinitely.

I did 'dpkg --force-all --purge cups cups-common' and 'rm -rf /etc/cups' and then reinstalled it. Same problem?! Reinstalling failed until I manually killed the 'start cups'-process.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cups 1.4.4-6ubuntu2.1
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Tue Oct 26 19:58:43 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Connection refused
MachineType: LENOVO 6458VJJ
Papersize: letter
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   3.3V 32-bit PC Card
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-22-generic root=UUID=1b82f1ea-b409-462f-8de0-ce3251f89692 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_DK.utf8
 SHELL=/bin/bash
SourcePackage: cups
dmi.bios.date: 05/11/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETC6WW (2.26 )
dmi.board.name: 6458VJJ
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7LETC6WW(2.26):bd05/11/2009:svnLENOVO:pn6458VJJ:pvrThinkPadT61p:rvnLENOVO:rn6458VJJ:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 6458VJJ
dmi.product.version: ThinkPad T61p
dmi.sys.vendor: LENOVO

Revision history for this message
Thomas Novin (thomasn80) wrote :
Revision history for this message
Thomas Novin (thomasn80) wrote :

Maybe a strace of 'start cups' can be useful so I'm attaching it.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Issue of CUPS upstartification. pitti, can you have a look?

Changed in cups (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Thomas Novin (thomasn80) wrote :

I found this in syslog, looks related:

Nov 3 10:25:01 thonov-ubuntu kernel: [48476.945856] type=1400 audit(1288776301.870:17): apparmor="DENIED" operation="open" parent=19664 profile="/usr/sbin/cupsd" name="/home/.ecryptfs/thonov/.ecryptfs/wrapped-passphrase" pid=19683 comm="cupsd" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

Revision history for this message
Thomas Novin (thomasn80) wrote :

After fiddling around a bit this problem disappeared. Don't really know what did it. Think it started to work again after replacing /etc/cups with the folder from my old Lucid-installation, except for printers.conf. Also added a printer and after that it worked.

Computer #2 that had this problem has also cups working fine now. There I haven't done any changes IIRC though. Maybe some update fixed it? Both are up-to-date as of 2010-11-05.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.