mkinitramfs handles errors very badly due to use of /usr/share/initramfs-tools/scripts/functions

Bug #300742 reported by Forest Bond
2
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

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).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.