Re: anticipating the upstart migration
Eric Dorland <email@example.com> writes:
> * Matthias Julius (firstname.lastname@example.org) wrote:
>> Eric Dorland <email@example.com> writes:
>> >> - If you set up the alternatives in preinst, then there is a time when
>> >> the symlink exists but the pointed binary hasn't been unpacked yet ->
>> >> unbootable system.
>> >> - If you set up the alternatives in postinst, there is a time when there
>> >> is no /sbin/init at all -> unbootable system.
>> > The second case is only true if the init providing packages conflict
>> > with each other, which I don't think would necessarily be the case.
>> It would also be true if the admin chooses to deinstall tho old
>> package and install the new package at the same time.
> Sure, but then they are explicitly taking that risk.
Yes, but probably without being aware of it.
How do you tell them about it before the old init package is removed?