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

Bug#383600: behaviour of update-initramfs -u has changed, only updates latest kernel initrd



Eduard Bloch wrote:
> #include <hallo.h>
> * Michael Biebl [Fri, Aug 18 2006, 10:26:53AM]:
>> I suggest to revert to the old behaviour and make "-u" update all
>> installed kernels. Atm I have to specify each kernel separately vi -k to
>> update them all.
> 
> Why should one update _all_ initramfs images when beeing interested in
> only single one? 

Why should I be only interested in only a single one? If I install e.g.
the uswsusp package (which has to update the initrd because it has to
install a resume binary there) I'd expect the package to work with all
kernels I have installed not only a single one.
In addition only the newest kernel installed is updated, which is very
confusing imho. If it all, it should update the initrd of the currently
running kernel.

> This also increases the risk for breaking ALL WORKING
> initramfs images in the case where a new bug in initramfs-tools appears.

As you already said, if it's a bug in initramfs-tools, it should be
fixed there and not prevent update-initramfs from doing the right thing.
It won't help you anyways if you have only one kernel installed.
And your argument can actually be held against you: what if an update of
initramfs-tools fixes a (grave/security related) bug. Wouldn't you
expect that all installed kernels are updated accordingly. I don't think
normal users will know that they have to run update-initramfs -u -k
1.2.3 for all installed kernel versions. We can't expect that more
unexperienced users will have to do that manually.
So this is even a security related issue.

> I recommend closing this bug report unless you provide a good
> explanation.

I strongly oppose.

Michael

-- 
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: