Package: openbsd-inetd
Version: 0.20050402-1
Severity: important

I have found that "/etc/init.d/openbsd-inetd restart" fails to start the inetd
in approx 1 in 10 attempts.

for i in 1 2 3 4 5 6 7 8 9 0; do /etc/init.d/openbsd-inetd restart >/dev/null ; 
if pgrep inetd >/dev/null  ; then echo OK ; else echo FAIL ; fi ; done
OK
OK
OK
FAIL
OK
OK
OK
OK
OK
FAIL

Adding a "sleep" to /etc/init.d/openbsd-inetd seems to help but is not really
a fix for the problem!

---8<---
--- openbsd-inetd.orig  2006-07-04 14:00:09.000000000 +0100
+++ openbsd-inetd       2006-07-04 14:00:19.000000000 +0100
@@ -60,6 +60,7 @@
        echo -n "Restarting internet superserver:"
        start-stop-daemon --stop --quiet --pidfile /var/run/inetd.pid \
            --exec $DAEMON --oknodo
+       sleep 1
        checkportmap
        checknoservices
        start-stop-daemon --start --quiet --pidfile /var/run/inetd.pid \
---8<---

Thanks
Alex Owen


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages openbsd-inetd depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libwrap0                      7.6.dbs-9  Wietse Venema's TCP wrappers libra
ii  netbase                       4.25       Basic TCP/IP networking system

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