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

Re: Paper on init scripts and Debian (debconf2)

On Mon, 01 Jul 2002, Miquel van Smoorenburg wrote:
> - in fact, sysvinits /sbin/init isn't that big, it appears big
>   because glibc is a monster.
>   $ size /sbin/init
>      text	   data	    bss	    dec	    hex	filename
>     24650	   1224	    468	  26342	   66e6	/sbin/init

Could it be linked against dietlibc or ulibc?  Anyway, I will add the data
above to a footnote in the paper.

> - 5.1: "init q" means "re-read inittab", and "init u" means "re-exec"
>        (the `u' stands for "upgrade")

Fixed.  Thanks for spotting this problem.  Also fixed in the proposed
minimum telinit interface.

> - 5.4.2: This paragraph shows a slight misunderstanding of how
>          sysvinit works. /etc/rcX.d/Kxx scripts are not executed
>          when a runlevel is left, they are executed when a
>          runlevel is entered! This is also how it is specified
>          to update-rc.d

Actually, I do know that if you leave runlevel 2 and enter runlevel 3,
runlevel 3's K scripts will be executed.  That passage in the paper was
poorly written, I will rewrite it to clarify this point.

Hrmm, I guess I should add the revision log to the last page of the paper,
now that there are non-cosmetic updates :)

> - After woody, I intend to break up sysvinit into probably three
>   packages. One containing just the binaries (init, shutdown, etc),
>   probably called 'sysvinit-bin', one containing the basic initscripts
>   (/etc/init.d/checkroot.sh etc), probably called 'initscripts-base',
>   and one containing the startup-policy (/etc/init.d/rc etc) for which
>   I don't have a proper name (sysvinit-boot ?). That last one could
>   be replaced with file-rc, or any other scheme.

Yeah, I recall you told me this.  Well, you could name them: sysvinit-init
(for init/telint and other related stuff), sysvinit-rc for the
startup/runlevel manager, and initscripts-base for the init scripts
themselves... ?

This way, we have file-rc depending on sysvinit-init and initscripts-base,
and conflicting with sysvinit-rc.

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: