Bug#659859: (no subject)

2012-02-29 Thread Thomas Lange
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.

IMO it's fine that only the postinst script of dracut checks if a
kernel is installed. Maybe also /etc/kernel/postinst.d/dracut should
check if a kernel image is installed, but AFAIK this is only executed
by the kernel package, so we know that a kernel is really installed.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#659859: (no subject)

2012-02-29 Thread Daniel Baumann
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