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

Bug#32449: marked as done (Section 3.3.4 (/etc/rc.boot) of policy needs updating)



Your message dated Sat, 6 Nov 1999 21:13:58 +0000 (GMT)
with message-id <E11kD9q-0000Vf-00@polya>
and subject line Fixed in debian-policy 3.1.0.0
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; 26 Jan 1999 19:27:32 +0000
Received: (qmail 5678 invoked from network); 26 Jan 1999 19:27:32 -0000
Received: from gilgamesh.cse.ucsc.edu (ben@128.114.49.60)
  by master.debian.org with SMTP; 26 Jan 1999 19:27:32 -0000
Received: (from ben@localhost) by gilgamesh.cse.ucsc.edu (8.9.0/8.6.12) id LAA27263; Tue, 26 Jan 1999 11:27:30 -0800
Sender: ben@cse.ucsc.edu
To: submit@bugs.debian.org
Cc: 32441@bugs.debian.org
Subject: Section 3.3.4 (/etc/rc.boot) of policy needs updating
X-Face: -eDkx0I[vNsajBStK^((#;s#wZr+;?Up|;+Zw5JOl]'fINagA)&i4=$2WI'z4U!h0>;A3ON
 RW{7<n^q2ZN?'5kU;qyM@jjhm4T8@O>o6imB12xD.pSBhFoqTuF{>b9[K[R\0h=c]Yy6h_R"=Ogv~9
 EsgE,9_6?%yFG'C6'L#JBw%9R*]UqA=|&CCMPsas#<U/%IY{*Q_"%\_4K8UXb0RC@MYR1u?HcjmyMy
 4Oji?i':(}%$
From: Ben Gertzfield <che@debian.org>
Date: 26 Jan 1999 11:27:30 -0800
Message-ID: <ytthftd6di5.fsf@gilgamesh.cse.ucsc.edu>
Lines: 123
X-Mailer: Gnus v5.6.27/XEmacs 20.4 - "Emerald"

Package: debian-policy

This is from a discussion on a Nethack packaging bug.

man rc.boot says that the /etc/rc.boot/ directory is obsolete, but
section 3.3.4 of Debian Policy (Boot-time initialisation) says that
/etc/rc.boot/ is okay to use.

The manpage from rc.boot says that /etc/rc.boot/ has been superceded
by /etc/rc.S/ -- I think this should be reflected in Policy.

Either policy or sysvinit needs to be updated, or both.

-- 
Brought to you by the letters V and F and the number 4.
"It should be illegal to yell 'Y2K' in a crowded economy."
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/
I'm on FurryMUCK as Che, and EFNet/Open Projects IRC as Che_Fox.
------- Start of forwarded message -------
From: servis@purdue.edu
Date: Tue, 26 Jan 1999 13:52:32 -0500 (EST)
Reply-To: bservis@usa.net
Subject: Re: Bug#32441: nethack: the use of rc.boot is obsolete
To: che@debian.org
cc: 32441@bugs.debian.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=iso-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Message-Id: <E105DbK-00021i-00@ppp-x9-33.ecn.purdue.edu>

*- Ben Gertzfield wrote about "Re: Bug#32441: nethack: the use of rc.boot i=
s obsolete"
>>>>>> "Brian" =3D=3D Brian Servis <servis@purdue.edu> writes:
>=20
>     Brian> Package: nethack Version: N/A
>=20
>     Brian> nethack still installs a startup script in /etc/rc.boot
>     Brian> which is obsolete.  It should be moved to /etc/init.d and
>     Brian> linked from /etc/rcS.d.
>=20
> Sorry, I wasn't aware of this. Where in policy does it say
> /etc/rc.boot/ is obsolete? I do not want the script run on changes to
> single-user mode, only once per boot, and as per section 3.3.4 of
> Debian policy, I am doing the right thing.
>=20
> 3.3.4 Boot-time initialisation=20
>=20
> There is another directory, /etc/rc.boot, which contains scripts which
> are run once per machine boot. This facility is provided for
> initialisation of hardware devices, cleaning up of leftover files, and
> so forth.
>=20
> For example, the kbd package provides a script here for initialising
> the keyboard layout and console font and mode.
>=20
> The files in /etc/rc.boot should not be links into /etc/init.d--they
> should be the scripts themselves.
>=20
> rc.boot should not be used for starting general-purpose daemons and
> similar activities. This should be done using the rcn.d scheme, above,
> so that the services can be started and stopped cleanly when the
> runlevel changes or the machine is to be shut down or rebooted.
>=20
> **snip**
>=20
> This is exactly what I am using /etc/rc.boot for -- cleaning up
> leftover files.
>=20
> Do you still think this is a bug?
>=20
> Ben
>=20

According to /usr/doc/sysvinit:

1. Boot.

   When the systems boots, the /etc/init.d/rcS script is executed. It
   in turn executes all the S* scripts in /etc/rcS.d in alphabetical
   (and thus numerical) order. The first argument passed to the
   executed scripts is "start". The runlevel at this point is "N" (none).

   Only things that need to be run once to get the system in a consistent
   state are to be run. The rcS.d directory is NOT ment to replace rc.local=
.
   One should not start daemons in this runlevel unless absolutely
   nessecary. Eg, NFS might need the portmapper, so it is OK to start it
   early in the bootprocess. But this is not the time to start the
   squid proxy server.

and man rc.boot

NAME
       /etc/rc.boot  -  directory  for  local or per-package boot
       scripts.

DESCRIPTION
       The /etc/rc.boot directory is obsolete. It has been super=AD
       seded by the /etc/rcS.d directory. At boot time, first the
       /etc/rcS.d directory is scanned and  then,  for  backwards
       compatibility, the /etc/rc.boot directory.

and http://www.debian.org/lintian/reports/Tpackage-installs-into-etc-rc.boo=
t.html


So yes I still think it is a bug.  It looks like a bug needs to be
filed against policy as well.



--=20
Brian=20
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes, =20
 because by that time you will be a mile away and have their shoes."=20
=09=09=09=09=09=09=09   - unknown =20

Mechanical Engineering                                bservis@usa.net
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------

------- End of forwarded message -------
---------------------------------------
Received: (at 32448-done) by bugs.debian.org; 6 Nov 1999 21:31:44 +0000
Received: (qmail 17140 invoked from network); 6 Nov 1999 21:15:11 -0000
Received: from mserv1c.u-net.net (195.102.240.33)
  by master.debian.org with SMTP; 6 Nov 1999 21:15:11 -0000
Received: from [195.102.196.44] (helo=polya)
	by mserv1c.u-net.net with esmtp (Exim 2.10 #35)
	id 11kD9x-0005Qp-00; Sat, 6 Nov 1999 21:14:05 +0000
Received: from jdg by polya with local (Exim 3.03 #1 (Debian))
	id 11kD9q-0000Vf-00; Sat, 06 Nov 1999 21:13:58 +0000
Subject: Fixed in debian-policy 3.1.0.0
To: 8221-done@bugs.debian.org, 17621-done@bugs.debian.org, 
 19179-done@bugs.debian.org, 24695-done@bugs.debian.org, 
 32448-done@bugs.debian.org, 32449-done@bugs.debian.org, 
 33076-done@bugs.debian.org, 40766-done@bugs.debian.org, 
 40767-done@bugs.debian.org, 41095-done@bugs.debian.org, 
 41121-done@bugs.debian.org, 41232-done@bugs.debian.org, 
 41547-done@bugs.debian.org, 41829-done@bugs.debian.org, 
 42358-done@bugs.debian.org, 42447-done@bugs.debian.org, 
 42849-done@bugs.debian.org, 43651-done@bugs.debian.org, 
 44620-done@bugs.debian.org, 44643-done@bugs.debian.org, 
 44922-done@bugs.debian.org, 45307-done@bugs.debian.org, 
 45318-done@bugs.debian.org, 45561-done@bugs.debian.org, 
 46516-done@bugs.debian.org, 48570-done@bugs.debian.org
Date: Sat, 6 Nov 1999 21:13:58 +0000 (GMT)
X-Mailer: ELM [version 2.4ME+ PL60 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Message-Id: <E11kD9q-0000Vf-00@polya>
From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>

These bugs have been fixed in debian-policy 3.1.0.0; changelog follows.

   Julian

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg


Changes: debian-policy (3.1.0.0) unstable; urgency=low
 .
  * Add instructions on /usr/doc -> /usr/share/doc symlinks (closes:
    #45561, #42447, #48570)
  * Added source dependencies (closes: #41232)
  * Deprecated /etc/rc.boot (closes: #32448, #32449)
  * Update-rc.d now only legal way to automatically access /etc/rc?.d
    directoried (closes: #41547)
  * FHS compliant location of examples (closes: #42849)
  * Added ispell-dictionary to virtual-packages.list (following new
    suggestions: no objections => accept) (closes: #8221)
  * Added man-browser to virtual-packages.list (closes: #24695)
  * Added ident-server to virtual-packages.list (closes: #45307)
  * Alphabeticised virtual packages list ;)
  * Corrected GPL reference in proposal.sgml
  * Clarification of "extra" priority (closes: #33076)
  * Remove buggy and seriously problematic licenses from list of contrib
    package criteria (closes: #45318)
  * Move docs to /usr/share/doc with a compatibility symlink (closes:
    #41829)
  * Update to FHS 2.1 draft #3 (for /var/state etc. changes).
  * Correct /var/lib/games -> /var/games (closes: #42358)
  * Added MIME subpolicy (closes: #46516)
  * Added support for VISUAL (closes: #41121)
  * Clarify non-dependence on /usr/local (closes: #44922)
  * Modified description of mail spool locking (closes: #43651)
  * Clarified wording of conffiles and configuration files (closes:
    #40766, #40767)
  * Changed description of release numbers (closes: #44620)
  * Added changelog.html -> changelog requirement (closes: $40934)
  * packaging-manual now correctly installs its docs (closes: #44643)
  * The packaging manual now discusses version numbers based on dates
    (closes: #17621)
  * Mention ls -f for testing order in which files appear on disk (closes:
    #19179)
  * Change order of '.' and '+' in description of version numbers (closes:
    #41095)
  * s/fields/field names/ in section 4.1 of packaging manual for clarity
  * Add Build-Depends-Indep: field to control file


Reply to: