Your message dated Wed, 4 Apr 2001 08:58:51 +0100 with message-id <[EMAIL PROTECTED]> and subject line Bug#92589: there is no standard way to check if an init script is installed 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.) Darren Benham (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 2 Apr 2001 16:40:33 +0000 >From [EMAIL PROTECTED] Mon Apr 02 11:40:33 2001 Return-path: <[EMAIL PROTECTED]> Received: from apastourelles-101-1-2-62.abo.wanadoo.fr (tigreraye) [193.251.53.62] (mail) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 14k7NY-0002vq-00; Mon, 02 Apr 2001 11:40:33 -0500 Received: from fevrier by tigreraye with local (Exim 3.22 #1 (Debian)) id 14k7NU-00036Y-00; Mon, 02 Apr 2001 18:40:28 +0200 Date: Mon, 2 Apr 2001 18:40:27 +0200 From: Jean-Philippe =?iso-8859-1?Q?Gu=E9rard?= <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: there is no standard way to check if an init script is installed Message-ID: <[EMAIL PROTECTED]> Reply-To: Jean-Philippe =?iso-8859-1?Q?Gu=E9rard?= <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.15i X-Reportbug-Version: 1.14 Sender: =?iso-8859-1?Q?Jean-Philippe_Gu=E9rard?= <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Package: debian-policy Version: 3.5.2.0 Severity: normal The Debian policy specifies (10.3.1) that maintainer scripts should not assume whether or not a specific implementation of the handling of init scripts is used. It provides a tool, update-rc.d, that has to be used to install or remove an init script activation. However, it does not provide a standard way to check the current status of an init script. Administation packages that need to know the situation of an init script (e.g. webmin-core, ksysv, rcconf, etc.) have to implement checks for all possible implementations. Most of them assume the symlink scheme is used. The reasonnable solution would seem to be to offer an additionnal standard tool : check-rc.d that would take as a parameter an init script, and provide information on the current situation of the script. For example : # check-rc.d installed /etc/init.d/apache && echo true true # check-rc.d startstop /etc/init.d/apache STOP 0 20 STOP 1 20 START 3 95 START 4 95 START 5 95 STOP 6 20 -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux tigreraye 2.4.2-ac28 #1 SMP lun avr 2 01:44:11 CEST 2001 i686 Versions of packages debian-policy depends on: ii fileutils 4.0.43-1 GNU file management utilities. -- Jean-Philippe Guérard --------------------------------------- Received: (at 92589-done) by bugs.debian.org; 4 Apr 2001 11:46:10 +0000 >From [EMAIL PROTECTED] Wed Apr 04 06:46:09 2001 Return-path: <[EMAIL PROTECTED]> Received: from mserv1c.vianw.co.uk [195.102.240.33] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 14kljl-0000kf-00; Wed, 04 Apr 2001 06:46:09 -0500 Received: from [195.102.196.85] (helo=polya) by mserv1c.vianw.co.uk with esmtp (Exim 3.22 #5) id 14kljf-0004oY-00 for [EMAIL PROTECTED]; Wed, 04 Apr 2001 12:46:04 +0100 Received: from jdg by polya with local (Exim 3.22 #1 (Debian)) id 14kiBn-0001c6-00; Wed, 04 Apr 2001 08:58:51 +0100 Date: Wed, 4 Apr 2001 08:58:51 +0100 From: Julian Gilbey <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Bug#92589: there is no standard way to check if an init script is installed Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Tue, Apr 03, 2001 at 11:10:42PM +0200 Sender: Julian Gilbey <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] On Tue, Apr 03, 2001 at 11:10:42PM +0200, Jean-Philippe Gu?rard wrote: > I see your point. You are right. This is not the way to go to solve > this issue. > > Please close this request. Done. Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London Debian GNU/Linux Developer, see http://people.debian.org/~jdg Donate free food to the world's hungry: see http://www.thehungersite.com/