Your message dated Mon, 7 Jan 2008 22:28:47 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#451531: /sbin/start-stop-daemon: gives wrong warning if 
daemon does not delete pidfile before dying
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dpkg
Version: 1.14.7
Severity: minor
File: /sbin/start-stop-daemon

Hi,

$ 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

The daemon is, however, dead since the first kill attempt killed it
successfully. s-s-d did not look at the daemon, but at the pidfile.

This is a rather common cause of grief since /lib/lsb/init-function's
killproc uses --retry 5 if no Signal is explicitly given on the
command line.

I have also filed a bug against lsb-base (#451529) for this to be
addressed in killproc as well.

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 dpkg depends on:
ii  coreutils                     5.97-5.4   The GNU core utilities
ii  libc6                         2.6.1-6    GNU C Library: Shared libraries

dpkg recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 1.14.15

On Fri, 2007-11-16 at 17:24:44 +0100, Marc Haber wrote:
> Package: dpkg
> Version: 1.14.7
> Severity: minor
> File: /sbin/start-stop-daemon
> 
> $ 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
> 
> The daemon is, however, dead since the first kill attempt killed it
> successfully. s-s-d did not look at the daemon, but at the pidfile.
> 
> This is a rather common cause of grief since /lib/lsb/init-function's
> killproc uses --retry 5 if no Signal is explicitly given on the
> command line.
> 
> I have also filed a bug against lsb-base (#451529) for this to be
> addressed in killproc as well.

This has been fixed in dpkg 1.14.15:

  * Do not print 'failed to kill' warning in start-stop-daemon when polling
    the pid. Closes: #157305, #352554
    Thanks to Samuel Thibault.

regards,
guillem


--- End Message ---

Reply via email to