Comment 6 for bug 1258900

Revision history for this message
MetaChrome (imagenesis) wrote :

This bug remains. I was only able to resolve it functionally by specifying a one letter p/w. With multiple character passwords, it becomes impossible to submit the correct p/w. (both with regards to libpam which is what I care about)

You want me to specify how to create a standard luks file container?

!#/bin/bash
file=/acc/t_data
mnt=/acc/t
lo=/dev/loop1
name=t
dd if=/dev/zero of=$file bs=1MB count=5
losetup $lo $file
cryptsetup luksFormat $lo
cryptsetup luksOpen $lo $name
mkfs.ext4 /dev/mapper/$name

The fstab is:

/acc/t_data /acc/t crypto_LUKS defaults 0 0