Bug#426108: lvm2: Please add LSB formatted dependency info in init.d script

Petter Reinholdtsen pere at hungry.com
Sat May 26 10:53:18 UTC 2007


Package: lvm2
Version: 2.01.04-5
Severity: wishlist

To be able to check boot script order, and also to be able to start
boot scripts in parallel, it is important to know the dependencies of
the various boot scripts. The Linux Software Base specifies a init.d
header file format useful for this purpose, and adding such header to
the init.d scripts would make it possible for me to use this
information to check the current sequence and speed up the debian
boot.

<URL:http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html>
documents the LSB header format. Some debian notes are available from
<URL:http://wiki.debian.org/?LSBInitScripts>.

Here is a proposed dependency header to document the dependencies of
lvm2. It is slightly tested using the insserv package and the new
parallell booting support in sysvinit.

### BEGIN INIT INFO
# Provides:          lvm
# Required-Start:    mountdevsubfs
# Required-Stop:
# Should-Start:      udev devfsd raid2 mdadm
# Should-Stop:       reboot halt
# Default-Start:     S
# Default-Stop:      0 6
### END INIT INFO




More information about the pkg-lvm-maintainers mailing list