Your message dated Tue, 29 Aug 2006 07:48:23 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#385044: start-stop-daemon when used with --exec and --stop 
should warn loudly
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.13.22
Severity: serious

start-stop-daemon's --stop option doesn't work when upgrading when
combined with --exec.  As most daemons these days have abandoned "stop
in preinst, upgrade, start again in postinst" in favour of "upgrade,
restart in postinst", this means that upgraded daemons don't restart
themselves, but do upgrade to the latest version.  This means that
users may think their system is upgraded, when in reality, it is still
running the old binary.  In the worst case, it can cause two instances
of the daemon to be started.

This set of options should cause a noticeable warning when used, as it
really doesn't make sense unless one is making use of "stop in
preinst, upgrade, start again in postinst".

Filing this as serious because recent security updates have been affected by
this, and if we don't get some visibility on the problem soon, it will be
too late to find many of the problems before etch is released.

-- 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.17.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dpkg depends on:
ii  coreutils                    5.97-3      The GNU core utilities
ii  libc6                        2.3.6.ds1-3 GNU C Library: Shared libraries

dpkg recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 1.13.17


On Tue, Aug 29, 2006 at 12:09:23AM +0200, Nicolas François wrote:
> 
> Based on the code and on the tests I did, this seems to work nicely.

Well, this just means that it is fixed in unstable, but still present in
Sarge.

>From ChangeLog:

2006-03-20  Guillem Jover  <[EMAIL PROTECTED]>

        * utils/start-stop-daemon.c [OSLinux] (pid_is_exec): Revert back to
        take a struct stat instead of an execname. Get the filename pointed
        by the '/proc/<pid>/exe' symlink, strip any ' (deleted)' string, and
        stat that filename comparing the result with the new argument.


And from changelog.Debian:

dpkg (1.13.17) unstable; urgency=low
  [ Guillem Jover ]
  * Change start-stop-daemon's --exec behaviour again on GNU/Linux to compare
    the referred file pointed by the '/proc/<pid>/exe' symlink, stripping
    any ' (deleted)' string and stating the result. Closes: #354867

I'm closing the bug with the right version. A fix in Sarge is probably not
needed.

Kind Regards,
-- 
Nekral

--- End Message ---

Reply via email to