Package: mini-httpd
Version: 1.19-3
Severity: normal

This may be a re-open of a previous bug (387941).

/etc/init.d/mini-httpd does not know about an alternative placement of the
pidfile, forced by a /etc/mini-httpd.conf entry. Therefore the stop part
of the script may fail to actually end the running daemon.

Since the test for [ -e /var/run/$NAME/pid ] would fail in such a setup,
the addition of an "else" branch, with "start-stop-daemon --name $NAME"
would fix this, at the expense of a "Terminated" message that destroys
the output formatting :(

<pseudo-diff>
        else
                start-stop-daemon --stop --quiet --name $NAME
</pseudo-diff>

BTW, the need to set START to *0* in /etc/default/mini-httpd is confusing
at least. (well, that's fixed in -6..., #454230, time to move on to Lenny) 

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: arm (armv5tel)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-ixp4xx
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mini-httpd depends on:
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libssl0.9.8            0.9.8c-4etch3     SSL shared libraries

mini-httpd 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