LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-28-2012, 07:48 AM   #1
LinuxInDepth
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Rep: Reputation: Disabled
Pseudo Random Generator is not initialized from the (entropy pool) !!!!?


Stated in the RHEL5 Manuals that /dev/urandom will use the (entropy pool) until it exhausted then it will resort to a fallback pseudo-random algorithm, so it will never block.

But when investigating the system, I find that the pseudo-random generator (which is /dev/urandom) is initialized by /var/lib/random-seed as stated in /etc/rc.sysinit start-up script.

But the /var/lib/random-seed itself gets its data from /dev/urandom o.O !! as stated in /etc/init.d/halt file script when entering runlevel 0 (shutdown) or runlevel 6 (reboot).

so /dev/urandom never uses the entropy pool ?!

I am confused .. any help please
 
Old 04-29-2012, 06:24 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,406
Blog Entries: 55

Rep: Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578
No, /var/lib/random-seed is only used to help seed the pool and entropy is gathered from lots of sources.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Helping The Random Number Generator To Gain Enough Entropy With rng-tools (Debian Lenny) LXer Syndicated Linux News 0 12-13-2010 08:40 AM
Software to measure the entropy of random data Ulysses_ Linux - Security 3 09-27-2010 08:47 PM
Entropy Generator for Debian Etch Asymmetry Linux - Hardware 3 11-21-2007 12:08 PM
Entropy generator in Debian 4.0r1 Asymmetry Linux - Security 5 11-16-2007 08:12 AM
Running out of entropy & /dev/random reads are blocking slacky Linux - General 1 06-15-2005 09:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration