[Bug 300742] [NEW] mkinitramfs handles errors very badly due to use of /usr/share/initramfs-tools/scripts/functions

Forest Bond forest at alittletooquiet.net
Fri Nov 21 16:31:01 UTC 2008


Public bug reported:

Binary package hint: initramfs-tools

mkinitramfs uses /usr/share/initramfs-tools/scripts/functions for
handling certain tasks.  Errors that occur in those functions cause the
panic function to be called.  This launches an interactive shell that
steals /dev/console.  If this occurs when the user is running X, the
keyboard stops working.  This is rather unpleasant.

To trigger the bug, try adding a hook with a hyphen in the filename
(i.e. /etc/initramfs-tools/hooks/foo-bar-baz).

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
mkinitramfs handles errors very badly due to use of /usr/share/initramfs-tools/scripts/functions
https://bugs.launchpad.net/bugs/300742
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list