Hallo Christian, Christian Weiske <cweiske+bugs.debian....@cweiske.de> (2025-07-20): > I tried to resize the LVM volumes on my laptop by booting from the > latest Debian installer DVD. > > It fails the same way as described in bug #1065606 which is supposed > to be fixed: > > $ lvresize --size -32G --resizefs /dev/frm-vg/home > [...] > /usr/libexec/lvresize_fs_helper: execvp failed: No such file or directory > Failed to extend file system with lvresize_fs_helper.
First reaction: This is weird. The bug you mentioned was about the regular system, so this might have been about adding the same helper in the udeb (used by the installer), but the commit addressing that bug included the helper in both lvm2 and lvm2-udeb: https://salsa.debian.org/lvm-team/lvm2/-/commit/3184146606d97d52e9713513e03f8ee832a70826 and indeed: (unstable-amd64-devel)kibi@tokyo:/tmp$ dpkg --contents lvm2-udeb_2.03.31-2_amd64.udeb | grep lvresize_fs_helper -rwxr-xr-x root/root 9793 2025-02-27 16:51 ./usr/libexec/lvresize_fs_helper which is what we have in testing: (unstable-amd64-devel)kibi@tokyo:/tmp$ rmadison -s testing,unstable lvm2-udeb lvm2-udeb | 2.03.31-2 | testing | amd64, arm64, armel, armhf, i386, ppc64el, riscv64, s390x lvm2-udeb | 2.03.31-2 | unstable | amd64, arm64, armel, armhf, i386, mips64el, ppc64el, riscv64, s390x Second reaction: the ENOENT can be tricky! That's a script, with an interpreter set to /usr/bin/bash, which isn't available in the installer's environment. Skimming over the script, it should be feasible to make that a POSIX shell script, which would make it usable in the installer as well. Cc-ing lvm2 maintainers for input regarding doability/desirability. > The workaround given in bug #1065606, using "--fs resize_fsadm" > instead of "--resizefs" does not work either: > > /usr/sbin/fsadm: execvp failed: No such file or directory The installer environment doesn't feature all commands you would find on a regular system, so that part is not surprising. > (Apart from trixie RC2 I also tried the latest weekly release > dated 2025-07-16 17:45; it had the same problem) ACK, thanks for trying and mentioning that as well. Cheers, -- Cyril Brulebois (k...@debian.org) <https://debamax.com/> D-I release manager -- Release team member -- Freelance Consultant
signature.asc
Description: PGP signature