Proposed release goal for Squeeze: Switch to dependency based boot sequencing

Kel Modderman kel at otaku42.de
Fri Apr 17 20:44:45 UTC 2009


On Saturday 18 April 2009 04:56:22 Petter Reinholdtsen wrote:
> [Henrique de Moraes Holschuh]
> > The local modifications have to be done on the initscript headers, which are
> > conffiles since the dawn of time.
> 
> This is not quite true.  One can override a scripts headers by adding
> a file in /etc/insserv/overrides/, and that is how I propose to do
> local modifications.
> 
> > There is also an override directory that can be used to change the
> > dependency headers instead of editing the initscript, but we should
> > get rid of any need to ship files in there as part of the release
> > goal (local admin can place stuff there as he wishes).
> 
> There is actually two override directories,
> /usr/share/insserv/overrides/ and /etc/insserv/overrides/.

These behave differently too; lsb headers in /usr/share/insserv/overrides/
only have effect for corresponding scripts in /etc/init.d/ that lack lsb info
alltogether. lsb headers in /etc/insserv/overrides/ trump all.

> 
> Note that changes done to the list of enabled runlevels for a given
> service is preserved by insserv, while the sequence numbers are
> recalculated when the boot sequence is regenerated (typically when
> update-rc.d is executed).
> 
> Happy hacking,

Thanks, Kel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/attachments/20090418/62d60e7f/attachment.htm>


More information about the initscripts-ng-devel mailing list