Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Pavel Machek <pavel@xxxxxx>
- Date: Mon, 10 Dec 2007 16:37:37 +0000
On Wed 2007-12-05 09:49:34, Theodore Tso wrote:
On Wed, Dec 05, 2007 at 08:26:19AM -0600, Mike McGrath wrote:
Ok, whats going on here is an issue with how the smolt RPM installs the
UUID and how Fedora's Live CD does an install. It's a complete false alarm
on the kernel side, sorry for the confusion.
BTW, You may be better off using "uuidgen -t" to generate the UUID in
the smolt RPM, since that will use 12 bits of randomness from
/dev/random, plus the MAC, address and timestamp. So even if there is
zero randomness in /dev/random, and the time is January 1, 1970, at
least the MAC will contribute some uniqueness to the UUID.
I thought that /dev/random blocks when 0 entropy is available...? I'd
expect uuid generation to block, not to issue duplicates.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Matt Mackall
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Theodore Tso
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Alan Cox
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Matt Mackall
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Mike McGrath
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Matt Mackall
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Mike McGrath
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Matt Mackall
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Mike McGrath
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Theodore Tso
- Re: Why does reading from /dev/urandom deplete entropy so much?
- Prev by Date: odd slab memory usage in latest git
- Next by Date: Re: [PATCH] x86: Unify mmap_{32|64}.c
- Previous by thread: Re: Why does reading from /dev/urandom deplete entropy so much?
- Next by thread: Re: Why does reading from /dev/urandom deplete entropy so much?
- Index(es):
Relevant Pages
|