Autor: Martin Finkbeiner
Data:
A: submit
Assumpte: [devuan-dev] bug#517: ascii 2.1 - saned init script is broken
Package: <sane-utils 1.0.25-4.1+deb9u2>
SysV-init:
s. Debian Bug report logs - #871543
broken init script (since 2017)
(bugs.debian.org/cgi-bin/bugreport.cgi?bug=871543)
bug: start-stop-daemon
command:
# /etc/init.d/saned stop
doesn't stop saned
solving problem according to Debian's bug report:
# sed -i -e 's/--retry --exec $DAEMON/--retry 10/g' /etc/init.d/saned
worked for me, after my dist-upgrade jessie -> ascii 2.1 stopped with
"Installing new version of config file /etc/init.d/saned ...
[....] Restarting SANE network scanner server: saned[....] Stopping
SANE network scanner server: sanedstart-stop-daemon: invalid schedule
item (must be [-]<signal-name>, -<signal-number>, <timeout> or 'forever'
Try 'start-stop-daemon --help' for more information.
invoke-rc.d: initscript saned, action "restart" failed.
error processing package sane-utils (--configure):
subprocess installed post-installation script returned error exit status 3".
Best regards
Martin