[Pkg-cryptsetup-devel] Bug#458944: Bug#458944: cryptsetup: Slightly wrong LSB header in init.d script

Petter Reinholdtsen pere at hungry.com
Sat Jan 19 07:45:27 UTC 2008


[Jonas Meurer]
> I think that your patch is not enough. cryptdisks-early needs to be
> started before and stopped after lvm, evms, raid, etc.
> cryptdisks needs to be started after and stopped before lvm, evms, raid,
> etc.

Make sense to me.  I would recommend an optional depend on both lvm
and lvm2, to allow the lvm2 script to only provide lvm2 in the future
to avoid conflicting provides.

> ### BEGIN INIT INFO
> # Provides:          cryptdisks
> # Required-Start:    checkroot cryptdisk-early
> # Required-Stop:     umountroot cryptdisk-early

This is a typo.  cryptdisk-early should be cryptdisks-early Without
it, the script refuses to install because the cryptdisk-early script
is missing.

Btw, does the raid2 script still exist?  As far as I know, the package
has been removed.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-cryptsetup-devel mailing list