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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to