Package: lvm2
Version: 2.03.31-2
Severity: normal

Dear Maintainer,

The Debian package for lvm2 was built without the
THIN_CHECK_NEEDS_CHECK configure flag, leading to incompatible default
thin_check_options with respect to the thin_check binary. The lvm.conf
mentions that the defaults are

> thin_check_options = [ "-q", "--clear-needs-check-flag" ]

but an actual invocation of 'lvmconfig' will show that this is not the
case:

> # lvmconfig --typeconfig full global/thin_check_options
> thin_check_options=["-q"]

That the flag is missing can be seen in the build logs [2].

This leads to thin pools failing to activate when there are minor
issues that the new version of thin_check can detect, which couldn't
be detected earlier, because those issues will only be repaired when
--clear-needs-check-flag (or --auto-repair) is present. See also the
relevant upstream commit [0] that explains this.

The issue can be fixed [1] by adding Build-Depends-Arch dependency for
thin-provisioning-tools.

[0]: 
https://github.com/device-mapper-utils/thin-provisioning-tools/commit/eb28ab94
[1]: 
https://git.proxmox.com/?p=package-rebuilds.git;a=commitdiff;h=2605288fbbbc78a4511996f10bd840bdf86b2fe0
[2]:
> checking whether to include thin provisioning... internal
> configure: WARNING: /usr/sbin/thin_check: Bad version "" found
> checking for thin_restore... no
> configure: WARNING: "thin_restore not found in path 
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/sbin:/sbin"
> checking whether /usr/sbin/thin_check (.) supports the needs-check flag... no

Best Regards,
Fiona


-- System Information:
Debian Release: 13.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.19-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lvm2 depends on:
ii  dmeventd                  2:1.02.205-2
ii  dmsetup                   2:1.02.205-2
ii  libaio1t64                0.3.113-8+b1
ii  libblkid1                 2.41-5
ii  libc6                     2.41-12
ii  libdevmapper-event1.02.1  2:1.02.205-2
ii  libedit2                  3.1-20250104-1
ii  libselinux1               3.8.1-1
ii  libsystemd0               257.7-1
ii  libudev1                  257.7-1

Versions of packages lvm2 recommends:
ii  thin-provisioning-tools  1.1.0-4+b1

lvm2 suggests no packages.

-- no debconf information

Reply via email to