On Ubuntu 19.10, with ZFS root and zfs-auto-snapshot,
/etc/grub.d/10_linux_zfs was scanning every single snapshot whenever
update-grub was invoked.

This is a simple patch that just exits the get_dataset_info() function
if the dataset is a snapshot.  I could be missing something, but I don't
expect we want to be finding kernel & initrd images on snapshots under
normal circumstances.

** Patch added: "Simple four line patch I created that solved my issue"
   
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+attachment/5323115/+files/grub-common-2.04-1ubuntu12.1.dont_scan_snapshots-brianfinley.diff

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

Title:
  zfs on root fails with grub syntax error with multidisks pools

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1848856/+subscriptions

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

Reply via email to