Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545802 - =sys-apps/openrc-0.13.11: swclock should not using /run/openrc/shutdowntime as storing the timestamp
Summary: =sys-apps/openrc-0.13.11: swclock should not using /run/openrc/shutdowntime a...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-07 08:06 UTC by Yixun Lan
Modified: 2015-04-08 12:20 UTC (History)
1 user (show)

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 Yixun Lan archtester gentoo-dev 2015-04-07 08:06:36 UTC
directory /run is tmpfs which is mounted at boot time, so files storing there will eventually lost at shutdown time, we'd better store shutdowntime at somewhere under /var/xxx? (previously we stored it at /lib/rc/cache/shutdowntime?)

Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2015-04-07 19:52:44 UTC
If /var is a separate partition, it will not be available early enough
since swclock runs very early in the startup sequence.
Comment 2 Yixun Lan archtester gentoo-dev 2015-04-08 03:19:08 UTC
problem here is that, I'm also enable hwclock, which override previous swclock's setting. removing it solve my problem