[Bug 1987679] [NEW] os-prober leaves filesystems (lvm-thin, lvm snap) mounted

Launchpad Bug Tracker 1987679 at bugs.launchpad.net
Thu Jan 23 18:43:46 UTC 2025


You have been subscribed to a public bug by Heitor Alves de Siqueira (halves):

If one happens to have by accident (or on purpose) a thick LVM snapshot, or a thin-LV with a copy of a system on it, update-grub reports
/sbin/grub-probe: error: unknown filesystem.
Found Ubuntu 22.04.1 LTS on /dev/mapper/vgxubuntu-s22.04
and
/sbin/grub-probe: error: disk `lvmid/X7waXv-rMDA-5fQA-aw6l-ei1I-8Gz3-pQl3lr/k3Ze1u-Mfwc-pxUt-7fXa-FjSZ-7IkX-HAxf3b' not found.
Found Ubuntu 22.04.1 LTS (22.04) on /dev/mapper/vgxubuntu-XR22.04.1U

and leaves the systems mounted rw on /var/lib/os-prober/mount.
On subsequent invocations update-grub spews out multiple
mdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy

I'm pretty sure this also causes a new install to hang (though a power-
reset seems to load the new system - not sure if it is complete or not.)

The missing umounts should be relatively easy to fix, but the thick
snapshot error is particularly vague as most users (I think) would take
the "unknown filesystem" to refer to the previous entry.

I have been playing with grub2-common-2.06-2ubuntu7 on xubuntu 22.04.1,
though I am sure this has been around a while

** Affects: os-prober (Ubuntu)
     Importance: Medium
     Assignee: Heitor Alves de Siqueira (halves)
         Status: In Progress

** Affects: os-prober (Ubuntu Focal)
     Importance: Undecided
     Assignee: Heitor Alves de Siqueira (halves)
         Status: In Progress

** Affects: os-prober (Ubuntu Jammy)
     Importance: Undecided
     Assignee: Heitor Alves de Siqueira (halves)
         Status: In Progress

** Affects: os-prober (Ubuntu Kinetic)
     Importance: Undecided
         Status: Won't Fix

** Affects: os-prober (Ubuntu Noble)
     Importance: Undecided
     Assignee: Heitor Alves de Siqueira (halves)
         Status: In Progress

** Affects: os-prober (Ubuntu Oracular)
     Importance: Undecided
     Assignee: Heitor Alves de Siqueira (halves)
         Status: In Progress

** Affects: os-prober (Ubuntu Plucky)
     Importance: Medium
     Assignee: Heitor Alves de Siqueira (halves)
         Status: In Progress


** Tags: foundations-todo fr-2650
-- 
os-prober leaves filesystems (lvm-thin, lvm snap) mounted
https://bugs.launchpad.net/bugs/1987679
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list