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

Bug#642115: debian-installer: guided full disk encryption + LVM complains about insecure swap



Jon Dowland wrote:
> I've just monkey-patched this instance of d-i to write $device to a temporary file.

Welcome to d-i development. ;-)

>    dminfo=$(dmsetup table -j$mag -m$min 2> /dev/null | \
>             head -n1 | cut -d' ' -f3) || return 1
> 
> dmsetup table -j$mag -m$min returns:
> 
>     sda5_crypt: 0 16269312 crypt …
> 
> the above command results in $dminfo being 16269312. It is then checked against
> 'crypt':

Huh, over in post-base-installer.d, it gets it right:

           dmsetup table | cut -d' ' -f4 | grep -q "crypt" 2>/dev/null; then
                apt-install cryptsetup

This must have been broken since before 2010.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: