On 30/04/2006 rupert wrote: > >you don't need to run cryptsetup manually in the initscript. just mount > >/dev/sdb1 and set the keyfiles to '/media/hdd/*.key' in your > >/etc/crypttab. the sleeps are unnecessary too. that will do everything. > > > i removed the cryptsetup entrys from the init.d file, and when I now run it > i get the following errors > > /etc/init.d/cryptdisks restart > * Stopping crypto disks... hda1(busy) Daten(stopped) > MoreData(stopped) [ ok ] > * Starting crypto disks... hda1(running) Daten(starting) - INSECURE MODE > FOR /media/hdd1/Daten.key > Usage: cryptsetup [-?|--help] [--usage] [-v|--verbose] [-c|--cipher STRING] > [-h|--hash STRING] [-y|--verify-passphrase] [-d|--key-file STRING] > [-s|--key-size BITS] [-b|--size SEKTOREN] [-o|--offset SEKTOREN] > [-p|--skip SEKTOREN] [-r|--readonly] [-i|--iter-time msecs] > [OPTION...] <action> <action-specific>] > /sbin/cryptsetup: Unbekannte Aktion. > MoreData(starting) - INSECURE MODE FOR /media/hdd1/MoreData.key > Usage: cryptsetup [-?|--help] [--usage] [-v|--verbose] [-c|--cipher STRING] > [-h|--hash STRING] [-y|--verify-passphrase] [-d|--key-file STRING] > [-s|--key-size BITS] [-b|--size SEKTOREN] [-o|--offset SEKTOREN] > [-p|--skip SEKTOREN] [-r|--readonly] [-i|--iter-time msecs] > [OPTION...] <action> <action-specific>] > /sbin/cryptsetup: Unbekannte Aktion. > > These lines where the reason whz i added the cryptsetup commandos to it. > Mz USB Stick is ext3 formated. then please do a 'chmod 600 /media/hdd1/*.key' after mounting /media/hdd1. this should fix the 'INSECURE MODE FOR ...' issue. if you still get errors afterwards, please send me your /etc/init.d/cryptdisks and /lib/cryptsetup/init_functions files in a private mail, so that i can take a look at them. ... jonas --------------------------------------------------------------------- - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx