[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#372537: hplip init script fails mysteriously



Package: hplip
Version: 0.9.11-2
Severity: grave
Justification: renders package unusable

Installing hplip fails because the init script fails. Transcript:

Setting up hplip (0.9.11-2) ...
Installing new version of config file /etc/init.d/hplip ...
Installing new version of config file /etc/hp/hplip.conf ...
Creating/updating hplip user account...
Starting HP Linux Printing and Imaging System: hpiod hpssd failed!
invoke-rc.d: initscript hplip, action "start" failed.
dpkg: error processing hplip (--configure):
 subprocess post-installation script returned error exit status 1
Setting up hplip-doc (0.9.11-2) ...

Errors were encountered while processing:
 hplip

I then tried sh -x /etc/init.d/hplip start:

root@raych  /site/home/eric  # sh -x /etc/init.d/hplip start
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ DESC='HP Linux Printing and Imaging System'
+ SUID_USER=hplip
+ SGID_GROUP=lp
+ DAEMON1=/usr/sbin/hpiod
+ NAME1=hpiod
+ PROCNAME1=hpiod
+ PIDFILE1=/var/run/hplip/hpiod.pid
+ DAEMON2=/usr/sbin/hpssd
+ NAME2=hpssd
+ PROCNAME2=python
+ PIDFILE2=/var/run/hplip/hpssd.pid
+ HPIODOPTIONS=
+ HPSSDOPTIONS=
+ '[' -r /etc/default/hplip ']'
+ test -f /usr/sbin/hpiod
+ . /lib/lsb/init-functions
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+ set -e
+ DIDSOMETHING=0
+ case "$1" in
+ set -e
+ do_start
+ log_daemon_msg 'Starting HP Linux Printing and Imaging System'
+ '[' -z 'Starting HP Linux Printing and Imaging System' ']'
+ '[' -z '' ']'
+ echo -n 'Starting HP Linux Printing and Imaging System:'
Starting HP Linux Printing and Imaging System:+ return
+ fixdirs
++ dpkg-statoverride --list /var/run/hplip
+ dir='hplip root 755 /var/run/hplip'
+ '[' -z 'hplip root 755 /var/run/hplip' ']'
+ createdir hplip root 755 /var/run/hplip
+ '[' -d /var/run/hplip ']'
+ chown -R -H --preserve-root hplip:root /var/run/hplip
+ chmod 755 /var/run/hplip
+ :
+ log_progress_msg hpiod
+ '[' -z hpiod ']'
+ echo -n ' hpiod'
 hpiod+ start_daemon /usr/sbin/hpiod /var/run/hplip/hpiod.pid hpiod hpiod '' ''
+ DAEMON=/usr/sbin/hpiod
+ PIDFILE=/var/run/hplip/hpiod.pid
+ NAME=hpiod
+ PROCNAME=hpiod
+ SSDOPT=
+ DAEMONOPT=
+ START='--start --quiet --pidfile /var/run/hplip/hpiod.pid --startas /usr/sbin/hpiod --name hpiod '
+ '[' -n '' ']'
+ start-stop-daemon --start --quiet --pidfile /var/run/hplip/hpiod.pid --startas /usr/sbin/hpiod --name hpiod
+ start-stop-daemon --test --start --quiet --pidfile /var/run/hplip/hpiod.pid --startas /usr/sbin/hpiod --name hpiod
+ return 0
+ log_progress_msg hpssd
+ '[' -z hpssd ']'
+ echo -n ' hpssd'
 hpssd+ start_daemon /usr/sbin/hpssd /var/run/hplip/hpssd.pid hpssd python '--chuid hplip --group lp' ''
+ DAEMON=/usr/sbin/hpssd
+ PIDFILE=/var/run/hplip/hpssd.pid
+ NAME=hpssd
+ PROCNAME=python
+ SSDOPT='--chuid hplip --group lp'
+ DAEMONOPT=
+ START='--start --quiet --pidfile /var/run/hplip/hpssd.pid --startas /usr/sbin/hpssd --name python --chuid hplip --group lp'
+ '[' -n '' ']'
+ start-stop-daemon --start --quiet --pidfile /var/run/hplip/hpssd.pid --startas /usr/sbin/hpssd --name python --chuid hplip --group lp
+ start-stop-daemon --test --start --quiet --pidfile /var/run/hplip/hpssd.pid --startas /usr/sbin/hpssd --name python --chuid hplip --group lp
+ return 1
+ log_end_msg 1
+ '[' -z 1 ']'
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ FANCYTTY=1
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 1 -eq 0 ']'
+ /bin/echo -e ' failed!'
 failed!
+ return 1
+ true
+ return 1

I'm not sure what's going wrong in there.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-celeron
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages hplip depends on:
ii  adduser                       3.87       Add and remove users and groups
ii  coreutils                     5.96-3     The GNU core utilities
ii  cupsys                        1.1.23-15  Common UNIX Printing System(tm) - 
ii  hplip-data                    0.9.11-2   HP Linux Printing and Imaging - da
ii  libc6                         2.3.6-13   GNU C Library: Shared libraries
ii  libcupsys2                    1.1.23-15  Common UNIX Printing System(tm) - 
ii  libgcc1                       1:4.1.0-4  GCC support library
ii  libsnmp9                      5.2.2-3    NET SNMP (Simple Network Managemen
ii  libssl0.9.8                   0.9.8b-2   SSL shared libraries
ii  libstdc++6                    4.1.0-4    The GNU Standard C++ Library v3
ii  libusb-0.1-4                  2:0.1.12-2 userspace USB programming library
ii  lsb-base                      3.1-8      Linux Standard Base 3.1 init scrip
ii  python                        2.3.5-5    An interactive high-level object-o
ii  python-qt3                    3.16-1     Qt3 bindings for Python (default v

Versions of packages hplip recommends:
ii  cupsys-client            1.1.23-15       Common UNIX Printing System(tm) - 
ii  hpijs                    2.1.10+0.9.11-2 HP Linux Printing and Imaging - gs
pn  python-reportlab         <none>          (no description available)

-- no debconf information




Reply to: