Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 462332

Summary: sys-apps/openrc-0.11.8: bootmisc does not keep /var/run/random-seed
Product: Gentoo Hosted Projects Reporter: Alex Efros <powerman-asdf>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex Efros 2013-03-19 16:18:40 UTC
Since /run uses tmpfs and /etc/init.d/bootmisc migrate /var/run to /run file /var/run/random-seed will be lost after reboot (actually, all files will be lost, so there is no sense in trying to `cp -a` these files in migrate_to_run() at all).

It looks like this file should be moved somewhere in /var/lib.
Comment 1 Alex Efros 2013-03-20 19:32:52 UTC
Actually I'm already noticed it was moved to /var/lib/misc/random-seed and handled by /etc/init.d/urandom, so processing of /var/run/random-seed can be safely dropped from /etc/init.d/bootmisc.
Comment 2 William Hubbs gentoo-dev 2013-03-20 19:35:20 UTC
The default location in OpenRc for the random-seed file is
/var/lib/misc, so The only way that would be in a different location is
if you edited /etc/conf.d/urandom.
Also, see bug #454338 wrt cleaning /var/run.

Let me know if you have any more questions.

Thanks,

William
Comment 3 William Hubbs gentoo-dev 2013-03-21 04:07:15 UTC
I am closing this as invalid since the issues are addressed in other
bugs, but please feel free to re-open if you disagree.

Thanks,

William