Package: openbsd-inetd
Version: 0.20050402-5
Followup-For: Bug #386469

I'm seeing this same error on an etch update/upgrade today.
my pid for inetd doesn't change during the attempt at install, which 
suggests that the preinstall for openbsd-inetd doesn't make any attempt 
to stop the preexisting process. (or any attempt that is made, fails)

I'm not familiar with this package specifically, but glancing at the 
preinst script I am leaning towards the first hypothesis (we make no 
attempt to stop the preexisting process).

The script has:
upgrade_from_old_inetd() {
  if [ "$2" ] && dpkg --compare-versions "$2" ge 0.20040915-1; then
    return 0
  fi

This seems incorrect to me. Even when we upgrade from a previous 
version, shouldn't we stop the previous instance? starting the new inetd 
is always going to fail otherwise, right?

On a somewhat related note, in cases where we follow the other code 
paths and have some trouble stopping the old processes (as evidenced 
from some old bugs and the comments about bad-moon-alignment) shouldn't 
the script use start-stop-daemon --retry <timeout> to forcibly kill the 
process if it doesn't stop gracefully?

--Mike


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages openbsd-inetd depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libwrap0                    7.6.dbs-13   Wietse Venema's TCP wrappers libra
ii  lsb-base                    3.1-23       Linux Standard Base 3.1 init scrip
ii  tcpd                        7.6.dbs-13   Wietse Venema's TCP wrapper utilit
ii  update-inetd                4.27-0.4     inetd.conf updater

openbsd-inetd 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