Bug 134432 - /etc/rc.d/init.d/halt saves random seed to wrong file
Summary: /etc/rc.d/init.d/halt saves random seed to wrong file
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-02 15:19 UTC by Lubomir Bulej
Modified: 2014-03-17 02:48 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2004-10-04 03:26:13 UTC


Attachments (Terms of Use)
Fix to /etc/rc.d/init.d/halt.d to store random seed where rc.init expects it (498 bytes, text/plain)
2004-10-02 15:20 UTC, Lubomir Bulej
no flags Details

Description Lubomir Bulej 2004-10-02 15:19:22 UTC
Description of problem:
/etc/rc.d/init.d/halt saves random seed to /var/lib/random_seed
instead of /var/lib/random-seed, from which the rc.sysinit reads it.

Version-Release number of selected component (if applicable):
initscripts-7.86-1


Additional info:
It may very well be the other way around, e.g. that rc.sysinit should
read the random seed from random_seed instead of random-seed. I think
that historically it has been random-seed.

The attached patch fixes the "halt" script to use random-seed.

Comment 1 Lubomir Bulej 2004-10-02 15:20:49 UTC
Created attachment 104666 [details]
Fix to /etc/rc.d/init.d/halt.d to store random seed where rc.init expects it

Comment 2 Bill Nottingham 2004-10-04 03:26:13 UTC
Duh, thanks. Fixed in CVS, will be in 7.87-1.


Note You need to log in before you can comment on or make changes to this bug.