Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#67097 - [os-prober] update-grub hangs in grub-mount process if lvm2 snapshot volume presents

Attached to Project: Arch Linux
Opened by Haoqian He (Safetee) - Wednesday, 24 June 2020, 19:06 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 10 February 2021, 10:03 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



"sudo update-grub" hangs by running grub-mount indefinitely, if LVM2 snapshot volume for the root filesystem exists.
Problem disappears if the package "os-prober" is removed.

* package version:
1. grub 2:2.04-7
2. os-prober 1.77-1

Steps to reproduce:
1. Make sure the package "os-prober" is installed: pacman -Ss os-prober
2. Create a LVM2 snapshot for the root filesystem: usr/sbin/lvcreate -L10G -n snap-root -s lvmvolume/root
3. Run "sudo update-grub"
This task depends upon

Closed by  Christian Hesse (eworm)
Wednesday, 10 February 2021, 10:03 GMT
Reason for closing:  None
Additional comments about closing:  lvm2 2.03.11-3
Comment by Christian Hesse (eworm) - Wednesday, 10 February 2021, 10:03 GMT
With lvm2 2.03.11-3 in [core] a lot changed.
If this is still an issue please complain.