Source: smartmontools Version: 7.2-1 Severity: wishlist Upstream has added some new configure and update-smart-drivedb options that make the changes for #976696 (/usr vs /var split) more optimal.
I have included the upstream comments below, once the required upstream version (not sure about the release) is available in Debian, please switch to the approach and parameters specified in comment 12 below: https://www.smartmontools.org/ticket/1426#comment:12 A further enhancement added in r5318: To distribute drivedb.h separately, use for example: ./configure ... \ --with-drivedbinstdir=/usr/share/smartmontools \ --with-drivedbdir=/var/lib/smartmontools Then make install installs /usr/share/smartmontools/drivedb.h but smartctl and smartd still use /var/lib/smartmontools/drivedb.h. Include this in the package postinstall script: /usr/sbin/update-smart-drivedb [--quiet] --install This copies /usr/share/smartmontools/drivedb.h to /var/lib/smartmontools/drivedb.h except if an already present version is newer and on the same branch. https://www.smartmontools.org/ticket/1426#comment:11 If possible, please test whether this works for your use case: update-smart-drivedb --no-verify --file /src/dir/drivedb.h [/dest/dir/drivedb.h] https://www.smartmontools.org/ticket/1426#comment:10 Resolution: → fixed Status: accepted → closed r5263. -- System Information: Debian Release: bookworm/sid APT prefers testing-debug APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.15.0-3-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages smartmontools depends on: ii debianutils 4.11.2 ii libc6 2.33-5 ii libcap-ng0 0.7.9-2.2+b1 ii libgcc-s1 11.2.0-16 ii libselinux1 3.3-1+b1 ii libstdc++6 11.2.0-16 ii libsystemd0 250.3-2 ii lsb-base 11.1.0 smartmontools recommends no packages. Versions of packages smartmontools suggests: ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-2 ii curl 7.81.0-1 ii gpg 2.2.27-3 pn gsmartcontrol <none> ii lynx 2.9.0dev.10-1 ii smart-notifier 0.28-8 ii wget 1.21.2-2+b1 -- no debconf information -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part