Public bug reported:

Flash-kernel initramfs-tools hook, initramfs-
tools/hooks/flash_kernel_set_root, doesn't know how to handle the use
case where there's no valid rootfs device at /etc/fstab.

This was noticed when using linaro-media-create, as the fstab is only
available at the last step of the rootfs setup, prompting the message to
the user and blocking until control+d or enter is entered by the user.

This can also happen in case the user installs a valid kernel package +
flash-kernel in a chroot.

Flash-kernel should just warn the user and move on, and just block in
case there's a valid rootfs at /etc/fstab and the device can't be found.

** Affects: flash-kernel (Ubuntu)
     Importance: Medium
     Assignee: Ricardo Salveti (rsalveti)
         Status: Confirmed

** Changed in: flash-kernel (Ubuntu)
       Status: New => Incomplete

** Changed in: flash-kernel (Ubuntu)
       Status: Incomplete => Confirmed

** Changed in: flash-kernel (Ubuntu)
   Importance: Undecided => Medium

** Changed in: flash-kernel (Ubuntu)
     Assignee: (unassigned) => Ricardo Salveti (rsalveti)

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

Title:
  flash-kernel shouldn't prompt the user when updating initramfs in case
  there's no valid /etc/fstab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1034734/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to