Bug#760682: lvm2: debian/rules try to restart lvm2-monitor.socket which doesn't exist

Laurent Bigonville bigon at debian.org
Sat Sep 6 19:21:01 UTC 2014

Package: lvm2
Version: 2.02.111-1
Severity: serious


The debian/rules contains a call to

dh_systemd_start --no-restart-after-upgrade lvm2-monitor.socket

which is trying to restart an unexisting unit file.

This is causing issues as the maintainer script are trying to start/stop

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


Laurent Bigonville

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

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lvm2 depends on:
ih  dmeventd                  2:1.02.90-1
ii  dmsetup                   2:1.02.90-1
ii  init-system-helpers       1.21
ii  initscripts               2.88dsf-53.4
ii  libc6                     2.19-10
ii  libdevmapper-event1.02.1  2:1.02.88-1
ii  libdevmapper1.02.1        2:1.02.90-1
ii  libreadline5              5.2+dfsg-2
ii  libudev1                  214-1
ii  lsb-base                  4.1+Debian13

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
pn  thin-provisioning-tools  <none>

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

-- no debconf information

More information about the pkg-lvm-maintainers mailing list