On 02/29/2012 06:19 PM, Thomas Lange wrote: > The dracut command itself does not care about the kernel image > /boot/vmlinuz..... at all. It only needs the kernel version number and > the directory of the kernel modules. Therefore it does not care if a > kernel image is installed at all.
for the specific problem mentioned in the original bug, policy wise, it does not matter if either /etc/kernel/*/dracut handles no-kernel-installed gracefully, or if /usr/sbin/dracut handles it. obviously, only handling it once makes sense, but.. from a users point of view, it would be better if /usr/sbin/dracut handles it. that way, users see it failing early and gracefully when they want to rebuild the initrd by hand (like update-initramfs). also, putting any more logic than the absolute minimum in the kernel hooks seems a worthwhile thing too. -- Address: Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern Email: daniel.baum...@progress-technologies.net Internet: http://people.progress-technologies.net/~daniel.baumann/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org