50mounted-tests prevents os-prober to work with ThinLVM
Bug #2073751 reported by
Guillaume
This bug report is a duplicate of:
Bug #1987679: os-prober leaves filesystems (lvm-thin, lvm snap) mounted.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-prober (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
No os-prober entries are added to grub.cfg for alternates systems on ThinLVM, because of an issue with /usr/lib/
Updating line 55 from :
type=
to
type=
fixes the issue.
Credit is due to mikeaa on bug #1987679.
Tested on Ubuntu 24.04.
To post a comment you must log in.
It indeed also leaves the systems mounted rw on /var/lib/ os-prober/ mount : (sys2 is the alternate volume group and system)
# lsof /dev/sys2/rootfs
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
grub-moun 65856 root 3r BLK 252,26 0t37912576 1107 /dev/sys2/../dm-26
# ps -ef |grep grub sys2-rootfs /var/lib/ os-prober/ mount
root 65856 1 0 13:05 ? 00:00:00 grub-mount /dev/mapper/