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

Re: Proposed release goal for lenny: Switch to dependency based boot system



[Steve Langasek]
> Please consider the implications for partial upgrades for such a switch to
> dep-based init by default in lenny.  Having half your services fail to come
> up after a power event in the middle of a dist-upgrade, despite being in
> state 'installed', would be Not Nice.

I do not believe it can happen.  First of all, dependency based boot
sequencing using insserv will refuse to be enabled unless the provided
dependency headers are without loops, obsolete init.d scripts and
other issues that might mess up the boot sequence.  Next, update-rc.d
will fail and not change the boot sequence if such problem is
introduced after insserv is enabled, making sure any new package
introducing a serious problem will refuse to install or upgrade.  This
make sure that for those with insserv enabled, partial upgrades will
either fail for individual packages because of their broken headers
and leave the old boot sequence intact, or succeed.

Happy hacking,
-- 
Petter Reinholdtsen


Reply to: