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

Jonas Meurer jonas at freesources.org
Sat Jan 19 17:00:47 UTC 2008


On 19/01/2008 Petter Reinholdtsen wrote:
> [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.

I just saw that unstable doesn't have /etc/init.d/lvm anymore, therefore
we simply can replace lvm with lvm2:

$ apt-file search /etc/init.d/lvm
lvm2: etc/init.d/lvm2

> > ### 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.

oh, fixed ;-)

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

you're correct, the script seems not to exist anymore:

$ apt-file search /etc/init.d/raid
$

and by the way, /etc/init.d/devfsd seems not to exist anymore either...

greetings, 
 jonas





More information about the Pkg-cryptsetup-devel mailing list