Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: howto get systemd to use localtime (I think)
Date: Tue, 27 May 2014 09:07:49
Message-Id: 5268.1401181660@ccs.covici.com
In Reply to: Re: [gentoo-user] Re: howto get systemd to use localtime (I think) by Neil Bothwick
1 Neil Bothwick <neil@××××××××××.uk> wrote:
2
3 > On Tue, 27 May 2014 01:37:17 -0400, covici@××××××××××.com wrote:
4 >
5 > > OK, thanks, I have no /etc/adjtime at all, and I have two files,
6 > > /etc/localtime (not a link) and /etc/timezone. Should I delete the
7 > > later and change the former to a link?
8 >
9 > No. Gentoo copies the correct file from /usr/share/zoneinfo rather than
10 > making a symlink, so that it still works if /usr is a separate filesystem
11 > that has not yet been mounted - the clock is set before local filesystems
12 > are mounted. It uses the contents of /etc/timezone to determine which
13 > file to copy.
14 >
15 > Check that /etc/timezone is correct. If not, change it and either copy
16 > the correct file manaually or re-emerge sys-libs/timezone-data.
17
18 /etc/timezone is correct. I wonder when systemd using dracut sets the
19 time, maybe its confused. I don't see it using hwclock like openrc used
20 to, but I found an hwclock unit somewhere, should I try to use that?
21
22
23 --
24 Your life is like a penny. You're going to lose it. The question is:
25 How do
26 you spend it?
27
28 John Covici
29 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] Re: howto get systemd to use localtime (I think) Mike Gilbert <floppym@g.o>