Bug#783120: lvm2-lvmetad.service fails to start with separate /var

Michael Biebl biebl at debian.org
Wed Apr 22 15:49:40 UTC 2015


Package: lvm2
Version: 2.02.111-2.2
Severity: important
File: /lib/systemd/system/lvm2-lvmetad.service

The lvm2-lvmetad.service has DefaultDependencies=no to start early
during boot (before local-fs.target) but it also has
PIDFile=/var/run/lvmetad.pid

With a separate /var partition this leads to a failure during boot as
/var might not be mounted yet and therfore /var/run not being
available/writable.

Please use /run/lvmetad.pid for the pid file. /run is guaranteed to
exist and be writable.


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=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.90-2.2
ii  dmsetup                   2:1.02.90-2.2
ii  init-system-helpers       1.22
ii  initscripts               2.88dsf-59
ii  libc6                     2.19-18
ii  libdevmapper-event1.02.1  2:1.02.90-2.2
ii  libdevmapper1.02.1        2:1.02.90-2.2
ii  libreadline5              5.2+dfsg-2
ii  libudev1                  215-17
ii  lsb-base                  4.1+Debian13+nmu1

lvm2 recommends no packages.

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

-- no debconf information



More information about the pkg-lvm-maintainers mailing list