Bug#426108: Improved LSB header for lvm2

Petter Reinholdtsen pere at hungry.com
Fri Jan 4 00:29:50 UTC 2008


[Petter Reinholdtsen]
> It just occured to me.  Another way is to let the lvm2 package
> reverse depend on the key scripts that should run after it, and drop
> the depend from checkfs, mountall, the others.  I am positive to
> dropping the optional lvm dependency from initscripts.

Here is a new header implementing the multiple provides and the
reverse dependency.  I plan to drop the lvm dependency from checkfs,
mountall and umountfs, and leave it to lvm to define its boot sequence
location.  It will make initscripts a bit less complex, and leave the
lvm setup to the lvm packages.

### BEGIN INIT INFO
# Provides:          lvm2 lvm
# Required-Start:    mountdevsubfs
# Required-Stop:
# Should-Start:      udev devfsd raid2 mdadm cryptdisks-early
# Should-Stop:       reboot halt umountroot
# X-Start-Before     checkfs mountall
# X-Stop-after       umountfs
# Default-Start:     S
# Default-Stop:      0 6
### END INIT INFO

Happy hacking,
-- 
Petter Reinholdtsen





More information about the pkg-lvm-maintainers mailing list