/dev/random changes

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

 



It seems that the behavior of /dev/random has changed recently in rawhide.

I have a machine configured to use an encrypted swap space with /dev/random as 
the source for the key via the "-d /dev/random" option to cryptsetup.

Until recently the command "cryptsetup -d /dev/random create swap /dev/hda2" 
completed in a reasonable amount of time.  Now it will hang almost 
indefinitely (I've waited for over 16 minutes).  Pressing the SHIFT, CTRL, and 
ALT keys repeatedly during the boot process can make cryptsetup complete in 
as little as a second.

It seems to me that previous kernels used some entropy that's available during 
boot (such as interrupts from the hard disk) and recent kernels have stopped 
doing so.

Is this a bug or a feature?

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux