Bug#881413: Wrong deb-systemd-invoke invocations in postinst and prerm

Andrey Rahmatullin wrar at debian.org
Sat Nov 11 13:05:07 UTC 2017


Package: lvm2
Version: 2.02.176-4
Severity: normal

The maintainer scripts contain these lines:

/var/lib/dpkg/info/lvm2.postinst:       deb-systemd-invoke $_dh_action
>/dev/null || true
/var/lib/dpkg/info/lvm2.prerm:  deb-systemd-invoke stop  >/dev/null

This gives the following message on install and, I suppose the same one on
remove:

Syntax: /usr/bin/deb-systemd-invoke <action> <unit file> [<unit file> ...]

I don't understand why are these wrong lines generated though, can it be a bug
in dh_installsystemd?



-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lvm2 depends on:
ii  dmeventd                  2:1.02.145-4
ii  dmsetup                   2:1.02.145-4
ii  libblkid1                 2.30.2-0.1
ii  libc6                     2.24-17
ii  libdevmapper-event1.02.1  2:1.02.145-4
ii  libdevmapper1.02.1        2:1.02.145-4
ii  liblvm2app2.2             2.02.176-4
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:
pn  thin-provisioning-tools  <none>

lvm2 suggests no packages.

-- Configuration Files:
/etc/lvm/lvm.conf changed [not included]

-- debconf-show failed



More information about the pkg-lvm-maintainers mailing list