Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ntpd crashes, system set to UTC
Date: Fri, 23 Aug 2013 22:38:55
Message-Id: CADPrc81N2YDGOd1gy+-G76FBx_Kp3w4FSpLdQKhMcpnvwK=aQQ@mail.gmail.com
In Reply to: [gentoo-user] ntpd crashes, system set to UTC by Randy Westlund
1 On Fri, Aug 23, 2013 at 2:53 PM, Randy Westlund <rwestlun@×××××.com> wrote:
2 > Hey guys,
3 >
4 > I'm having some trouble with ntpd and my system clock. Every once and a while, my system time is wrong. In the past (not having time to look into it), I've just run ntp-client to correct it.
5 >
6 > Turns out that ntpd is crashing and `date` reports the UTC time, but thinks it's Eastern. This time I didn't correct the time and tried rebooting a few times. ntpd crashes within 5 minutes of boot, leading me to suspect the the time being off is what's causing ntpd to crash.
7 >
8 > Info about my system: I dual boot with windows, so my /etc/conf.d/hwclock looks like this:
9 >
10 >> clock="local"
11 >> clock_systohc="YES"
12 >> clock_hctosys="YES"
13 >> clock_args=""
14 >
15 > I also have CONFIG_RTC_HCTOSYS and CONFIG_RTC_SYSTORC set in my kernel.
16 >
17 > ntpd is in my default runlevel, ntp-client is not.
18 >
19 > My /etc/ntp.conf looks like this:
20 >
21 >> server 0.gentoo.pool.ntp.org
22 >> server 1.gentoo.pool.ntp.org
23 >> server 2.gentoo.pool.ntp.org
24 >> server 3.gentoo.pool.ntp.org
25 >> driftfile /var/lib/ntp/ntp.drift
26 >> restrict default nomodify nopeer noquery
27 >> restrict 127.0.0.1
28 >
29 > What am I doing wrong? Where should I look for more information on the problem?
30
31 ntpd should not crash no matter what, but what is /etc/localtime?
32
33 Regards.
34 --
35 Canek Peláez Valdés
36 Posgrado en Ciencia e Ingeniería de la Computación
37 Universidad Nacional Autónoma de México