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

Re: cryptdisks e swap



Pipex wrote:
ciao
avevo creato tempo fa 1 device mapper x gestire anche lo swap criptato.
da quando ho cambiato versione di cryptsetup, al boot mi dice

 - The device /dev/mapper/cryptswap0 does not contain a filesystem type
swap.

 - the check for '/dev/mapper/cryptswap0' failed - maybe the password
is wrong
 - removing the crypto device cryptswap0

=========
ricreandolo invece a mano funziona.

#cryptsetup -c blowfish -h sha256 -d /dev/urandom #create cryptswap0 /dev/hdd6 #mkswap /dev/mapper/cryptswap0
#swapon /dev/mapper/cryptswap0

=========
in /etc/crypttab ho

cryptswap0      /dev/hdd6       /dev/random     swap

cosa c'e' di errato o cosa è cambiato? da cosa è causato l'errore?
E' un "bug" di cryptsetup, che non inizializza la partizione di swap se la chiave è random.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=371135
ciao.

Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com


Reply to: