Bug#881303: lvm2: dh_installsystemd fragment generates warning during configuration
Julian Gilbey
jdg at debian.org
Thu Nov 9 21:59:27 UTC 2017
Package: lvm2
Version: 2.02.176-1
Severity: normal
I don't know whether the bug here lies in dh_installsystemd or in
lvm2, so please reassign to dh_installsystemd if this is the wrong
package.
At the end of lvm2's debian/rules, it says:
dh_installsystemd --remaining-packages
But the lvm2 postinst then ends up finishing with the following:
# Automatically added by dh_installsystemd/10.10.5
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
_dh_action=try-restart
else
_dh_action=start
fi
deb-systemd-invoke $_dh_action >/dev/null || true
fi
# End automatically added section
and this throws up the warning message:
Syntax: /usr/bin/deb-systemd-invoke <action> <unit file> [<unit file> ...]
because no unit file is listed after $_dh_action.
I'm inclined to think that this is a debhelper bug...
Best wishes,
Julian
-- System Information:
Debian Release: buster/sid
APT prefers stretch
APT policy: (500, 'stretch'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lvm2 depends on:
ii dmeventd 2:1.02.145-1
ii dmsetup 2:1.02.145-1
ii libblkid1 2.30.2-0.1
ii libc6 2.24-17
ii libdevmapper-event1.02.1 2:1.02.145-1
ii libdevmapper1.02.1 2:1.02.145-1
ii liblvm2app2.2 2.02.176-1
ii libreadline5 5.2+dfsg-3+b1
ii libsystemd0 235-2
ii libudev1 235-2
ii lsb-base 9.20170808
Versions of packages lvm2 recommends:
ii thin-provisioning-tools 0.7.4-2
lvm2 suggests no packages.
-- no debconf information
More information about the pkg-lvm-maintainers
mailing list