Bug#739043: lvm2: Please use --no-enable option instead of patching lvm2-lvmetad.service file

Laurent Bigonville bigon at debian.org
Sat Feb 15 11:11:46 UTC 2014


Package: lvm2
Version: 2.02.104-2
Severity: important
Tags: patch

Hello Bastian,

You are currently patching the lvm2-lvmetad.service file to remove the
install section:

-[Install]
-WantedBy=sysinit.target

IMHO this would breaks the ordering if somebody wants to explicitly
enable the service.

You should probably use the --no-enable option of the dh_systemd_enable
helper.

Please considere applying the following patch.

Cheers,

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.12-1-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:
ii  dmsetup                   2:1.02.83-2
ii  init-system-helpers       1.15
ii  initscripts               2.88dsf-51
ii  libc6                     2.17-97
ii  libdevmapper-event1.02.1  2:1.02.83-2
ii  libdevmapper1.02.1        2:1.02.83-2
ii  libreadline5              5.2+dfsg-2
ii  libudev1                  204-7
ii  lsb-base                  4.1+Debian12

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvmetad-noenable.patch
Type: text/x-diff
Size: 1253 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20140215/d7c5ac4c/attachment.patch>


More information about the pkg-lvm-maintainers mailing list