[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#160517: marked as done ('/etc/init.d/boa restart' fails is boa is not running)



Your message dated Sun, 24 Nov 2002 16:32:51 -0500
with message-id <E18G4N1-0003Rp-00@auric.debian.org>
and subject line Bug#160517: fixed in boa 0.94.13-2
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Sep 2002 14:09:02 +0000
>From allomber@math.u-bordeaux.fr Wed Sep 11 09:09:02 2002
Return-path: <allomber@math.u-bordeaux.fr>
Received: from guest-206.loria.fr (yellowpig.yi.org) [152.81.114.206] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17p8Au-0007GH-00; Wed, 11 Sep 2002 09:09:01 -0500
Received: from yellowpig
	([127.0.0.1] helo=yellowpig.yi.org ident=mail)
	by yellowpig.yi.org with smtp (Exim 3.12 #1 (Debian))
	id 17p8Az-0007L7-00; Wed, 11 Sep 2002 16:09:05 +0200
Received: (nullmailer pid 28215 invoked by uid 1001);
	Wed, 11 Sep 2002 14:09:05 -0000
Date: Wed, 11 Sep 2002 16:09:04 +0200
From: Bill Allombert <ballombe@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: '/etc/init.d/boa restart' fails is boa is not running
Message-ID: <20020911140904.GA27779@yellowpig.yi.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
X-Reportbug-Version: 1.50
Delivered-To: submit@bugs.debian.org

Package: boa
Version: 0.94.12-1
Severity: serious
Justification: Policy 10.3.2
Tags: patch

Hello,

If boa is not running,
/etc/init.d/boa restart fails:
yellowpig# /etc/init.d/boa stop
Stopping HTTP server: Boa.
yellowpig# /etc/init.d/boa restart
Restarting HTTP server: Boa. Boa not running!  Not attempting restart.

restart must always start the service, even if it is no more running.

Also the /etc/init.d script look very old.  Please find an updated
version at the end.

Cheers,
Bill. <ballombe@debian.org>

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux yellowpig 2.2.19 #1 Tue Apr 24 20:02:21 CEST 2001 i686
Locale: LANG=french, LC_CTYPE=french

Versions of packages boa depends on:
ii  libc6                         2.2.5-6    GNU C Library: Shared libraries an
ii  logrotate                     3.5.9-10   Log rotation utility
ii  mime-support                  3.19-1     MIME files 'mime.types' & 'mailcap

---------------/etc/init.d/boa---------------------------
#! /bin/sh
#
#		Written by Miquel van Smoorenburg <miquels@cistron.nl>.
#		Modified for Debian GNU/Linux
#		by Ian Murdock <imurdock@gnu.ai.mit.edu>.
#               Modified for boa by Bill Allombert <ballombe@debian.org>.

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/boa
NAME=boa
DESC="HTTP server"

test -x $DAEMON || exit 0

set -e

case "$1" in
  start)
	echo -n "Starting $DESC: $NAME"
	start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
		--exec $DAEMON
	echo "."
	;;
  stop)
	echo -n "Stopping $DESC: $NAME "
	start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
		--exec $DAEMON
	echo "."
	;;
  restart|force-reload)
	#
	#	If the daemon can reload its config files on the fly
	#	for example by sending it SIGHUP, do it here.
	#
	#	If the daemon responds to changes in its config file
	#	directly anyway, make this a do-nothing entry.
	#
	echo -n "Reloading $DESC configuration..."
	start-stop-daemon --stop --signal 1 --quiet --pidfile \
	        /var/run/$NAME.pid --exec $DAEMON
	echo "done."
        ;;
  *)
	N=/etc/init.d/$NAME
	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
	echo "Usage: $N {start|stop|restart|force-reload}" >&2
	exit 1
	;;
esac

exit 0

---------------------------------------
Received: (at 160517-close) by bugs.debian.org; 24 Nov 2002 21:39:19 +0000
>From katie@auric.debian.org Sun Nov 24 15:39:19 2002
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18G4TH-0007Ds-00; Sun, 24 Nov 2002 15:39:19 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 18G4N1-0003Rp-00; Sun, 24 Nov 2002 16:32:51 -0500
From: Jordi Mallach <jordi@debian.org>
To: 160517-close@bugs.debian.org
X-Katie: $Revision: 1.28 $
Subject: Bug#160517: fixed in boa 0.94.13-2
Message-Id: <E18G4N1-0003Rp-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sun, 24 Nov 2002 16:32:51 -0500
Delivered-To: 160517-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
boa, which is due to be installed in the Debian FTP archive:

boa_0.94.13-2.diff.gz
  to pool/main/b/boa/boa_0.94.13-2.diff.gz
boa_0.94.13-2.dsc
  to pool/main/b/boa/boa_0.94.13-2.dsc
boa_0.94.13-2_i386.deb
  to pool/main/b/boa/boa_0.94.13-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 160517@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jordi Mallach <jordi@debian.org> (supplier of updated boa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 24 Nov 2002 19:23:35 +0100
Source: boa
Binary: boa
Architecture: source i386
Version: 0.94.13-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Jordi Mallach <jordi@debian.org>
Description: 
 boa        - Lightweight and High Performance WebServer
Closes: 160517 167511
Changes: 
 boa (0.94.13-2) unstable; urgency=low
 .
   * Debian QA upload, during Sarge's BSP #2.
   * debian/boa.init: install a new init file based on one by Bill Allombert
     which makes "restart" not fail if boa wasn't previously running
     (closes: #160517).
   * debian/rules:
     + use dh_installlogrotate to install the logrotate stuff.
     + remove arguments to dh_installexamples.
     + disable DH_VERBOSE.
     + remove docs/boa.info and docs/boa.html on clean (bashisms in Makefile).
   * debian/dirs: add usr/lib/cgi-lib.
   * debian/boa.examples: added.
   * debian/boa.conf: add "ScriptAlias /cgi-lib/ /usr/lib/cgi-bin/" for the
     upcoming "cgi-bin" policy (closes: #167511).
   * src/boa_grammar.y: patch from H. S. Teoh; adds a space after "$Id: $" so
     m4 doesn't try to expand "$*".
Files: 
 5be6b58268c0ace34f2fcc8b8b54a431 594 web optional boa_0.94.13-2.dsc
 0ea00d97802396f48aad9c7071054a71 10863 web optional boa_0.94.13-2.diff.gz
 75809fbf58ce847be2a62b77e34f3b5c 95390 web optional boa_0.94.13-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE94TPkJYSUupF6Il4RAsF7AKDMhVmdQ6rynKAsu/sKFiKSSGam/QCfQK4z
OilfE7EtjyJXHJmn9rJVbfg=
=H9CY
-----END PGP SIGNATURE-----



Reply to: