Public bug reported: Binary package hint: cryptsetup
Kubuntu 8.04.1 After setting up encrypted filesystems, cryptdisks-early now prompts me for the passphrase needed to decrypt the filesystems. BUT, if I type the passphrase incorrectly, it fails to re-prompt me for the passphrase and continues with the boot, until it fails because necessary filesystems aren't available. According to the man page for /etc/crypttab, it should default to three retries, but this can be varied in that file. No retries occur whether or not I have a "tries" argument in /etc/crypttab. Steps to reproduce: (all done from root) run "cryptsetup -y create cryptovar /dev/sda7" type passphrase twice when prompted Add the following line to /etc/crypttab cryptovar /dev/sda7 none timeout=3000,tries=5 this should cause five attempts at the passphrase to be made, with a 3000 second timeout Add the following line to /etc/fstab /dev/mapper/cryptovar /var ext3 noatime,nodiratime 0 1 run "mkfs.ext2 /dev/mapper/cryptovar" Mount /dev/mapper/cryptovar and copy the contents of the current /var partition into it Reboot. System begins to boot and at the appropriate time, prompts for the passphrase. Type an incorrect passphrase System should re-prompt for the passphrase, but instead boot continues, but throws error messages due to lack of a /var partition. The same problem also occurs if no tries argument is used in /etc/crypttab, when it should use the default three retries. Reproducable: every time an incorrect passphrase is supplied. ** Affects: cryptsetup (Ubuntu) Importance: Undecided Status: New -- cryptdisks-early fails to re-prompt if passphrase is incorrect https://bugs.launchpad.net/bugs/260462 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs