sys-fs/lvm2: don't get stuck with root-on-LVM
authorRobin H. Johnson <robbat2@gentoo.org>
Wed, 17 Apr 2019 06:17:25 +0000 (23:17 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Wed, 17 Apr 2019 07:25:37 +0000 (00:25 -0700)
commit965220269a5b04a2aeb7061d8e69b62156bd9373
tree32cb87aec6b4811768309d77332eb2b54fd23a5a
parent2c3d9335bfb904d55365b5a4f6470490021e3a91
sys-fs/lvm2: don't get stuck with root-on-LVM

During system shutdown, init.d/lvm tries to run 'vgchange -a ln' to
close all LVs. It fails with root-on-LVM (or seperate /usr-on-LVM),
because those mountpoints are still in use. As a best-effort, consider
it done after the 'vgchange -a ln' pass. This is similar to localmount's
stop, which does not fail if a filesystem cannot be unmounted.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
sys-fs/lvm2/files/lvm.rc-2.02.183