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

Re: anticipating the upstart migration



Am Sonntag 08 Oktober 2006 18:40 schrieb Gustavo Noronha Silva:
> Em Sun, 08 Oct 2006 18:25:57 +0200
>
> Michael Biebl <biebl@teco.edu> escreveu:
> > >     "sysvinit only" -> "sysvinit + upstart" (using
> > > alternatives/diversions)
> >
> > No offense, but I wouldn't trust the alternatives system for something
> > sensible as /sbin/init. Please also remember that it's not the
> > /sbin/init binary alone, we'd have to provide alternatives for halt,
> > shutdown, runlevel, reboot, poweroff and telinit. They would need to
> > be switched in one step, you can't mix e.g. init from upstart with
> > shutdown from sysvinit. This approach is a no-go imho.
>
> The alternatives system is quite mature; it suffered from leaving
> dangling alternatives, but that was ages ago...
>
> The various commands you said could be provided as slaves to
> the /sbin/init alternative, which will make them be switched
> 'atomically'.

But you need the shutdown command for the running init, not for the 
chosen-for-next-boot one.

HS

Attachment: pgpvETCv43csY.pgp
Description: PGP signature


Reply to: