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

Launchpad Bug Tracker 300742 at bugs.launchpad.net
Wed Dec 4 04:23:18 UTC 2024


[Expired for initramfs-tools (Ubuntu) because there has been no activity
for 60 days.]

** Changed in: initramfs-tools (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/300742

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

Status in initramfs-tools package in Ubuntu:
  Expired

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/300742/+subscriptions




More information about the foundations-bugs mailing list