Bug#514665: lvm2: Wrong Dependency on mdadm in LSB header

Michael Guntsche mike at it-loops.com
Mon Feb 9 22:41:13 UTC 2009


Package: lvm2
Version: 2.02.39-6
Severity: normal

Testing the dependency based boot sequence with insserv I found a minor
issue in the init.d script for lvm2. The "Should-Start" includes "mdadm"
instead of "mdadm-raid" and the Should-Stop does not include
"mdadm-raid" at all. While I did not see any problems during boot, I
noticed that during shutdown mdadm-raid is run BEFORE lvm2 which fails
since lvm2 VGs are still active. Adding mdadm-raid to Should-Stop:
in lvm2 takes care of this problem.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.3
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lvm2 depends on:
ii  libc6                        2.7-18      GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.27-4 The Linux Kernel Device Mapper use
ii  libreadline5                 5.2-3.1     GNU readline and history libraries
ii  lsb-base                     3.2-20      Linux Standard Base 3.2 init scrip

Versions of packages lvm2 recommends:
ii  dmsetup                      2:1.02.27-4 The Linux Kernel Device Mapper use

lvm2 suggests no packages.

-- debconf information:
  lvm2/kernel:
  lvm2/snapshots:





More information about the pkg-lvm-maintainers mailing list