#1110994 lvm2: thin_check_options misses clear-needs-check-flag which breaks aa of pool with minor issues

Package:
lvm2
Source:
lvm2
Description:
Linux Logical Volume Manager
Submitter:
Fiona Ebner
Date:
2025-08-13 10:57:02 UTC
Severity:
normal
Tags:
#1110994#5
Date:
2025-08-13 10:20:47 UTC
From:
To:
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

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

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]:

Best Regards,
Fiona

#1110994#10
Date:
2025-08-13 10:46:55 UTC
From:
To:
Hi,

I submitted a merge request to address the issue:
https://salsa.debian.org/lvm-team/lvm2/-/merge_requests/22

Best Regards,
Fiona