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

Bug#586363: initramfs-tools: initramfs for the wrong kernel is updated



On 22 June 2010 00:13, maximilian attems <max@stro.at> wrote:
> On Sat, 19 Jun 2010, Michal Suchanek wrote:
>
>> On 19 June 2010 15:23, maximilian attems <max@stro.at> wrote:
>> > On Sat, Jun 19, 2010 at 03:17:20PM +0200, Michal Suchanek wrote:
>> >> Why is sorting code required?
>> >
>> > dpkg --compare-versions does sort rc images before non rc ones.
>> > as mentioned in the manpages initramfs-tools updates the "newest" one.
>> >
>> > here the assumption is that rc is newer then not rc, which is wrong.
>> > but rc admin should be smart enough to kick rc once the real is out.
>> >
>>
>> So the issue is that it updates the newest kernel, not the running
>> kernel if that is different.
>
> please explain why it should update the running one?
>
> this makes zero sense for the most usual case of newer
> linux-2.6 installed but not yet rebooted.
>

And when the new on does not boot you get the old initrd.

Also there was some mechanism in place for grub menu default to point
to the same kernel even after new kernels are installed until you
change that in case you resumed from disk or wanted to boot known
working kernel.

Thanks

Michal



Reply to: