[Pkg-cups-devel] Bug#543468: cups: initscript displays a password prompt on startup, hangs.

Hilko Bengen bengen at debian.org
Tue Aug 25 07:50:37 UTC 2009


Package: cups
Version: 1.3.11-2
Severity: grave

While upgrading using aptitude (run through sudo), the upgrade process
hung on my machine:

    Setting up cups-bsd (1.3.11-2) ...
    Setting up cups (1.3.11-2) ...
    Installing new version of config file /etc/cups/cupsd.conf ...
    Installing new version of config file /etc/cups/cupsd.conf.default ...
    Installing new version of config file /etc/init.d/cups ...
    Starting Common Unix Printing System: cupsdPassword for root on printserver.company.invalid? 

After hitting RETURN, it resumed.

    cupsctl: Unauthorized
    .

I also get that password prompt when I do

    sudo /etc/init.d/cups start

The only place where that the only thing that references that
"printserver.company.invalid" host is the ~/.cups/client.conf in my
regular user's home directory. For an init script that should only care
about system-level configuration, this is clearly wrong.

Apparently, cups got found that file going through the HOME environment
variable. After unsetting the variable, the prompt is no longer shown.

Cheers,
-Hilko

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser                3.110             add and remove users and groups
ii  bc                     1.06.94-3.1       The GNU bc arbitrary precision cal
ii  cups-client            1.3.11-2          Common UNIX Printing System(tm) - 
ii  cups-common            1.3.11-2          Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]  1.5.27            Debian configuration management sy
ii  ghostscript            8.70~dfsg-2       The GPL Ghostscript PostScript/PDF
ii  libavahi-compat-libdns 0.6.25-1          Avahi Apple Bonjour compatibility 
ii  libc6                  2.9-25            GNU C Library: Shared libraries
ii  libcups2               1.3.11-2          Common UNIX Printing System(tm) - 
ii  libcupsimage2          1.3.11-2          Common UNIX Printing System(tm) - 
ii  libdbus-1-3            1.2.16-2          simple interprocess messaging syst
ii  libgcc1                1:4.4.1-3         GCC support library
ii  libgnutls26            2.8.3-2           the GNU TLS library - runtime libr
ii  libgssapi-krb5-2       1.7dfsg~beta3-1   MIT Kerberos runtime libraries - k
ii  libijs-0.35            0.35-7            IJS raster image transport protoco
ii  libkrb5-3              1.7dfsg~beta3-1   MIT Kerberos runtime libraries
ii  libldap-2.4-2          2.4.17-1          OpenLDAP libraries
ii  libpam0g               1.0.1-11          Pluggable Authentication Modules l
ii  libpaper1              1.1.23+nmu1       library for handling paper charact
ii  libpoppler4            0.10.6-1          PDF rendering library
ii  libslp1                1.2.1-7.6         OpenSLP libraries
ii  libstdc++6             4.4.1-3           The GNU Standard C++ Library v3
ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
ii  perl-modules           5.10.0-25         Core Perl modules
ii  procps                 1:3.2.8-1         /proc file system utilities
ii  ssl-cert               1.0.23            simple debconf wrapper for OpenSSL
ii  ttf-freefont           20090104-4        Freefont Serif, Sans and Mono True
ii  xpdf-utils [poppler-ut 3.02-1.4+lenny1   Portable Document Format (PDF) sui
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages cups recommends:
ii  avahi-utils               0.6.25-1       Avahi browsing, publishing and dis
ii  cups-driver-gutenprint    5.2.4-1        printer drivers for CUPS
ii  foomatic-filters          4.0-20090509-1 OpenPrinting printer support - fil
ii  ghostscript-cups          8.70~dfsg-2    The GPL Ghostscript PostScript/PDF

Versions of packages cups suggests:
ii  cups-bsd                  1.3.11-2       Common UNIX Printing System(tm) - 
pn  cups-pdf                  <none>         (no description available)
ii  foomatic-db               20090616-1     OpenPrinting printer support - dat
ii  foomatic-db-engine        4.0-20090509-2 OpenPrinting printer support - pro
pn  hplip                     <none>         (no description available)
ii  smbclient                 2:3.4.0-3      command-line SMB/CIFS clients for 
pn  xpdf-korean | xpdf-japane <none>         (no description available)

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd





More information about the Pkg-cups-devel mailing list