Bug 130350

Summary: hw_random not found
Product: [Fedora] Fedora Reporter: Sammy <umar>
Component: kernel-utilsAssignee: Arjan van de Ven <arjanv>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jreiser, mattdm, notting, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-02 20:13:44 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:
Bug Depends On: 151403    
Bug Blocks: 123268    

Description Sammy 2004-08-19 14:41:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; en_US, en_US.UTF-8, en) (KHTML, like Gecko)

Description of problem:
During boot rc.sysinit calls rngd which produces an error stating that
hw_random cannot be found. Should there be a file /etc/rc.d/init.d/random?
This is mentioned in /etc/readahead.early.files! If hw_random module
is started there is no error.

Version-Release number of selected component (if applicable):
kernel-utils-2.4-12.1.142

How reproducible:
Always

Steps to Reproduce:
1.install kernel-utils-2.4-12.1.142
2.reboot
3.
    

Additional info:

Comment 1 Bill Nottingham 2004-08-19 19:22:44 UTC
*** Bug 130368 has been marked as a duplicate of this bug. ***

Comment 2 Bill Nottingham 2004-08-19 19:22:52 UTC
This will get created by udev in the near future.

Comment 3 Bill Nottingham 2004-08-20 04:29:06 UTC
A check for the device node is in initscripts-7.64-1.

Comment 4 David Lehman 2005-02-04 22:45:46 UTC
The check will never succeed AFAICT, because it checks for a regular
file, not a character device.


Comment 7 H. Peter Anvin 2005-09-28 18:22:12 UTC
In current rc.sysinit, this test is:

#[ -x /sbin/rngd -a -c /dev/hw_random ] && rngd

... which looks correct, except for the fact that it's commented out!  This is a
major loss for a hwrng-equipped server.

Comment 8 Bill Nottingham 2005-09-28 19:16:26 UTC
rngd hangs if the hw_random device exists (the module is loaded) but there isn't
any specific hw RNG backend. Behavior like that isn't really appropriate in
rc.sysinit. :)

Comment 9 Matthew Miller 2008-05-23 16:19:50 UTC
Just a note: see bug #215371 for related discussion.