Bug#426108: Improved LSB header for lvm2
Petter Reinholdtsen
pere at hungry.com
Sun Dec 30 18:51:56 UTC 2007
To make sure lvm2 is stopped before umountroot (and thus before /
become read-only) in runlevels 0 and 6 as it is today, I believe it is
a good idea to specify that it should stop before umountroot. This is
the improved header:
### BEGIN INIT INFO
# Provides: lvm
# Required-Start: mountdevsubfs
# Required-Stop:
# Should-Start: udev devfsd raid2 mdadm cryptdisks-early
# Should-Stop: reboot halt umountroot
# Default-Start: S
# Default-Stop: 0 6
### END INIT INFO
Happy hacking,
--
Petter Reinholdtsen
More information about the pkg-lvm-maintainers
mailing list