Package: sane-utils
Version: 1.0.19-23
Severity: minor
Tags: patch

When restarting saned with /etc/init.d/saned, the script try to stop saned, 
next it try to start saned.
For the stop step, option "--oknodo" of "start-stop-daemon" is missing: so if 
saned is not running, saned is not started.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

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

Versions of packages sane-utils depends on:
ii  adduser                   3.110          add and remove users and groups
ii  debconf [debconf-2.0]     1.5.24         Debian configuration management sy
ii  libavahi-client3          0.6.23-3lenny1 Avahi client library
ii  libavahi-common3          0.6.23-3lenny1 Avahi common library
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libieee1284-3             0.2.11-5       cross-platform library for paralle
ii  libsane                   1.0.19-23      API library for scanners
ii  libusb-0.1-4              2:0.1.12-13    userspace USB programming library
ii  update-inetd              4.31           inetd configuration file updater

Versions of packages sane-utils recommends:
ii  avahi-daemon              0.6.23-3lenny1 Avahi mDNS/DNS-SD daemon

Versions of packages sane-utils suggests:
pn  unpaper                       <none>     (no description available)

-- debconf information:
  sane-utils/saned_run: false
  sane-utils/saned_scanner_group: true
--- /etc/init.d/saned   2009-11-29 16:49:37.000000000 +0100
+++ etc/init.d/saned    2008-12-09 23:44:02.000000000 +0100
@@ -59,7 +59,7 @@
        ;;
   restart)
     echo -n "Restarting $DESC: "
-       start-stop-daemon --stop --oknodo --quiet --pidfile \
+       start-stop-daemon --stop --quiet --pidfile \
                /var/run/$NAME.pid --exec $DAEMON
        sleep 1
        start-stop-daemon --start --quiet --pidfile \

Reply via email to