Re: [RFT] initscripts 2011.01-1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 27.01.2011 11:50, schrieb Jan Spakula:
> Excerpts from Thomas Bächler's message of Mi Jan 26 18:34:22 +0100 2011:
>> Okay, this has been sitting in git for a loooong time, and I am throwing
>> it out there. This should receive lots of testing, as there has been
>> major rewriting done. We need to make sure there are no regressions. It
>> should also fix a small number of bugs.
> 
> <snip>
> 
>>       Rewrite /etc/crypttab processing.
> 
> I've found a small issue coming from this: the "fourth column" (options) in
> /etc/crypttab used to mean "everything beginning with the 4th column to the
> end of the line", apparently now it is required to put the whole expression
> within "..". For instance I have some parameters in the SWAP line, I had to
> change the line
> 
> swap /dev/vg/swap SWAP -c aes-xts-plain -h sha256 -s 256
> 
> to
> 
> swap /dev/vg/swap SWAP "-c aes-xts-plain -h sha256 -s 256"
> 
> In the first case, the cryptsetup call during sysinit fails, since only '-c'
> was used as a parameter and the call 'cryptsetup -d /dev/urandom -c create
> ...' didn't make sense to cryptsetup.

This doesn't make sense to me either. It should work the way it is.

> ----
> 
> Another slight annoyance comes from the lines (from rc.sysinit)
> 
>         # isLuks only gives an exit code but no output to
>         # stdout or stderr.
>         if $CS isLuks "$2"; then
>                 open=luksOpen
>                 a="$2"
>                 b="$1"
>         fi
> 
> It's not true that there's no output; I get the message
> "Device /dev/vg/swap is not a valid LUKS device."
> every time I boot :)

Okay, that one is easy.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux