This feels like such a big issue that I initially suspect some error in my config, however, after upgrading to sys-fs/lvm2-2.03.22-r3 my thin volumes no longer mount. Issue is that the /etc/init.d/lvm2 script fails with: This seems to be down to the following stanza in the ebuild: if use lvm && use thin; then myeconfargs+=( --with-thin=internal --with-cache=internal ) local texec for texec in check dump repair restore; do myeconfargs+=( --with-thin-${texec}="${EPREFIX}"/sbin/thin_${texec} ) myeconfargs+=( --with-cache-${texec}="${EPREFIX}"/sbin/cache_${texec} ) done else myeconfargs+=( --with-thin=none --with-cache=none ) fi Here we seem to be forcing the autoconf values for "--with-thin-check=/sbin/thing_check" However, current sys-block/thin-provisioning-tools-1.0.10 installs the tools into /usr/sbin/ This seems like it could cause boot failures for others?
Oops. Missed pasting in the init.d errors. # /etc/init.d/lvm restart lvm | * WARNING: you are stopping a boot service lvm | * Caching service dependencies ... [ ok ] lvm | * Stopping the Logical Volume Manager ... lvm | /sbin/thin_check: execvp failed: No such file or directory lvm | WARNING: Check is skipped, please install recommended missing binary /sbin/thin_check! lvm | 0 logical volume(s) in volume group "vg_slow" now active [ ok ] lvm | * Starting the Logical Volume Manager ... lvm | Found volume group "vg_slow" using metadata type lvm2 lvm | /sbin/thin_check: execvp failed: No such file or directory lvm | WARNING: Check is skipped, please install recommended missing binary /sbin/thin_check! lvm | 1 logical volume(s) in volume group "vg_slow" now active
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449dc37ae3fbdefc9bc3453c0b7ba50971f2876b commit 449dc37ae3fbdefc9bc3453c0b7ba50971f2876b Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-05-02 14:53:13 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-05-02 14:53:13 +0000 sys-fs/lvm2: update path for thin-provisioning-tools The rust-based package installs binaries in /usr/sbin. Closes: https://bugs.gentoo.org/927402 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-fs/lvm2/{lvm2-2.03.22-r3.ebuild => lvm2-2.03.22-r4.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)