Package: lsb-base
Version: 3.1-24
Severity: minor

When killproc is invoked as in
killproc -p "$PIDFILE" "$DAEMON"
start-stop-daemon is invoked with --retry 5. When the daemon does
simply die without deleting the pid file, s-s-d misdetects this, tries
to kill the daemon a second time, and dies with a warning

$ sudo /sbin/start-stop-daemon --stop --pidfile /var/run/ser2net.pid --retry 5
--quiet --oknodo --verbose
Stopped process in pidfile /var/run/ser2net.pid' (pid 15061).
/sbin/start-stop-daemon: warning: failed to kill 15061: No such process

This is, uh, kind of confusing.

I am not sure whether s-s-d or lsb-base is at fault here, but I'd like
to suggest not using --retry unless explicitly requested via a
command-line option _OR_ nor using --retry if -p is given.

I have also filed a bug against s-s-d, (number to follow), to complain
about the wrong warning.

Greetings
Marc

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

Kernel: Linux 2.6.23.1-scyw00225 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lsb-base depends on:
ii  ncurses-bin               5.6+20071013-1 Terminal-related programs and man 
ii  sed                       4.1.5-4        The GNU sed stream editor

lsb-base recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to