[Pkg-sysvinit-devel] Re: Fixing hwclock.sh

Henrique de Moraes Holschuh hmh at debian.org
Fri Jan 6 14:55:39 UTC 2006

On Fri, 06 Jan 2006, Thomas Hood wrote:
> > We *cannot* tolerate the whole boot crashing because of a sourced script
> > screwing up, for example :(  Is there a way to source initscripts and still
> > tolerate broken initscripts without it doing nasty things to /etc/init.d/rc
> > like causing it to _die_ ?
> There is no reasonable way.  If a sourced script does "exit" then rc exits,
> with all the consequences of that.

I was more worried about flat out bugs when in -e mode or somesuch, but exit
clauses cropping up after we did the initial cleaning pass are also

Can either init itself or rc be teached to run sulogin and reboot if the
regular rc runlevel scripts execution borks in any way?  One or two forks
before we run the whole thing is not bad if it increases resiliency, even if
that means one extra process sitting around.

  "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

More information about the Pkg-sysvinit-devel mailing list