Package: inetutils-inetd
Version: 2:1.8-3
Severity: important

DebianNet.pm wake_inetd() routine check the /proc/<pidof /var/run/inetd.pid/stat
and compare the string to "(inetd)". It is called by update-inetd which is 
broken right
 now due to this.
A fix is to add --name $NAME in the start-stop-daemon calls of the 
inetutils-inetd init script.

Best regards
Alban


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-rc5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages inetutils-inetd depends on:
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libshishi0                    1.0.0-1    Library for the Shishi Kerberos v5
ii  lsb-base                      3.2-27     Linux Standard Base 3.2 init scrip
ii  syslog-ng [system-log-daemon] 3.1.3-2    Next generation logging daemon
ii  tcpd                          7.6.q-19   Wietse Venema's TCP wrapper utilit
ii  update-inetd                  4.38+nmu1  inetd configuration file updater

inetutils-inetd recommends no packages.

inetutils-inetd suggests no packages.

-- Configuration Files:
/etc/init.d/inetutils-inetd changed:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/inetutils-inetd
NAME=inetd
DESC="internet superserver"
PIDFILE=/var/run/$NAME.pid
test -x $DAEMON || exit 0
set -e
. /lib/lsb/init-functions
check_no_services()
{
  if ! grep -q "^[0-9A-Za-z/]" /etc/inetd.conf /etc/inetd.d/* 2>/dev/null; then
    log_warning_msg "Not starting internet superserver: no services enabled."
    exit 0
  fi
}
case "$1" in
  start)
        check_no_services
        log_daemon_msg "Starting $DESC" "$NAME"
        start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE \
                           --name $NAME --exec $DAEMON
        log_end_msg $?
        ;;
  stop)
        log_daemon_msg "Stopping $DESC" "$NAME"
        start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE \
                           --name $NAME --exec $DAEMON
        log_end_msg $?
        ;;
  reload|force-reload)
        log_action_begin_msg "Reloading $DESC configuration files"
        start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE \
                           --name $NAME --exec $DAEMON
        log_action_end_msg $?
        ;;
  restart)
        log_daemon_msg "Restarting $DESC" "$NAME"
        start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE \
                           --name $NAME --exec $DAEMON
        check_no_services
        sleep 1
        start-stop-daemon --start --quiet --pidfile $PIDFILE \
                           --name $NAME --exec $DAEMON
        log_end_msg $?
        ;;
  status)
        status_of_proc $DAEMON $NAME
        ;;
  *)
        N=/etc/init.d/inetutils-$NAME
        echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2
        exit 1
        ;;
esac
exit 0


-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to