Bug 68377

Summary: random generator not initialised properly?
Product: [Retired] Red Hat Linux Reporter: iwi
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-09 16:27:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description iwi 2002-07-09 16:27:37 UTC
From the "start" section of /etc/rc.d/init.d/random

        action $"Initializing random number generator: " /bin/true
        chmod 600 $random_seed
        dd if=/dev/urandom of=$random_seed count=1 bs=512 2>/dev/null

I could be mistaken, but it appears to me that the input and output of dd are
the wrong way round for this to actually feed any entropy into the random number
generator.

Comment 1 iwi 2002-07-12 13:56:36 UTC
Closing this myself, as reporter.  This is not a bug.

I hadn't read the script carefully enough: it is a previous line that
initialises the random generator ("cat /var/tmp/random-seed >/dev/urandom").

Sorry to take your time.