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

Re: anticipating the upstart migration

Anthony Towns wrote:
> On Fri, Oct 06, 2006 at 10:43:00PM +0200, martin f krafft wrote:
>> In order to enable this change, we're facing the "To continue type
>> in the phrase 'Yes, do as I say!'" problem because sysvinit is
>> marked essential.
> That's only a problem if you're going from "sysvinit only" to "upstart
> only" as part of your initial dist-upgrade to etch+1.
> Other options are:
>     "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.

>     "sysvinit only" -> "etch+1 sysvinit only" -> "etch+1 upstart only"
> I think it's really premature to be doing this though; we should be
> getting upgrades (and implementation for that matter!) working right in
> experimental while users get a warning, rather than testing it on people
> who might not be able to cope with a broken init.
> What happens if you lose power between deinstalling sysvinit and unpacking
> upstart, eg?

A diversion won't help you here either. The machine could still crash
between diverting (renaming) the old binary in preinst and installing
the new one.

Imho the cleanest approach is the one I outlined in my previous mail.
But as Steve already declined to consider that for etch, diversions
would be the only way to circumvent the
But then again, this is exactly the type of warning you were asking for.
So I'd say, we leave it as it is now. People who want to install upstart
(given that it is accepted for etch) won't do it by accident, as they
will have to type in the nice affirmation sentence, giving them enough
clue that they are doing something potential disastrous.


Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: