grub-initrd-fallback.service should RequiresMountsFor=/boot/grub

Bug #1881442 reported by Richard Laager
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

grub-initrd-fallback.service should have:

[Unit]
RequiresMountsFor=/boot/grub

If /boot/grub is on a separate filesystem, this can run before that filesystem is mounted and cause problems.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Sam Van den Eynde (samvde) wrote :

I have run into this with root on zfs. If for some reason the grub directory with grubenv is created on the root pool, then update-grub will no longer work (10_linux_zfs will no longer find valid /boot directories for the root fs).

I would definitely tune this to avoid that as trying to boot into zfs from a grub command line is not a pleasant experience.

Revision history for this message
Sam Van den Eynde (samvde) wrote :
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.