Public bug reported: The system fails to boot properly if using random encryption keys for eg. tmp or swap partitions. I have set up everything according to the man pages of crypttab eg;
cswap /dev/sda6 /dev/random swap ctmp /dev/sda7 /dev/random tmp When booting the system it "hangs" on "Starting early crypto disks..." By pressing control-break a few times the system continues to boot fine. Replacing the /dev/random with generated key files everything works great without the "hang" I'm guessing it's due to the same warning I am getting when trying to use /dev/random as key file when running cryptsetup on a test partition once the system has booted. -- [EMAIL PROTECTED]:~$ sudo cryptsetup luksFormat /dev/loop0 /dev/random WARNING! ======== This will overwrite data on /dev/loop0 irrevocably. Are you sure? (Type uppercase yes): YES Warning: exhausting read requested, but key file is not a regular file, function might never return. -- Well.. it's true it never does return. I am pretty sure this worked in Gutsy. Please let me know if I am missing something terribly obvious. ** Affects: ubuntu Importance: Undecided Status: New -- disk encryption fails using random keys https://bugs.launchpad.net/bugs/223072 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