Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462332 - sys-apps/openrc-0.11.8: bootmisc does not keep /var/run/random-seed
Summary: sys-apps/openrc-0.11.8: bootmisc does not keep /var/run/random-seed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-19 16:18 UTC by Alex Efros
Modified: 2013-03-21 04:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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