Re: [chrony-users] What's changed in chrony-2.2? |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
On Monday 23 November 2015 12:18:17 Miroslav Lichvar wrote:
> On Mon, Nov 23, 2015 at 10:13:32AM +0000, Peter Humphrey wrote:
> > Nov 23 09:46:02 serv chronyd[20169]: chronyd version 2.2 starting
> > (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP -SCFILTER -SECHASH
+ASYNCDNS
> > +IPV6 - DEBUG)
> > Nov 23 09:46:02 serv chronyd[20169]: Frequency -28.615 +/- 0.000 ppm
> > read from /var/lib/chrony/drift
> > Nov 23 09:46:02 serv /etc/init.d/chronyd[20166]: start-stop-daemon:
> > caught an interrupt
This is the one ^ that puzzles me the most, and it's the main reason I
suspected my kernel config.
> > Nov 23 09:46:02 serv /etc/init.d/chronyd[20166]: start-stop-daemon:
> > /usr/sbin/chronyd died
> > Nov 23 09:46:02 serv /etc/init.d/chronyd[20149]: ERROR: chronyd failed
> > to start
> > Nov 23 09:46:07 serv chronyd[20169]: Selected source 212.23.8.6
> > Nov 23 09:48:18 serv chronyd[20169]: Selected source 176.126.242.239
>
> Hm, so chronyd is running, but the init script says the process was
> killed? That's odd.
Indeed. I think it's giving one-line summaries rather than lots of possibly
confusing detail.
> Is the init system OpenRC? I'm not familiar with it. Maybe running the
> init script command in strace -ff could show us something.
This is OpenRC - Gentoo's helpful in giving us a choice of init regimes and
I haven't seen a need to change to systemd. :) No strace on these
machines.
Running strace -ff -o/tmp/chronyd.strace /etc/init.d/chronyd start, I get:
/lib/rc/sh/rc-cgroup.sh: line 89: printf: write error: No such device
on the console. Do I need to scan all the 27 files strace has written?
# grep -i cgroup /usr/src/linux/.config
CONFIG_CGROUPS=y
# CONFIG_CGROUP_DEBUG is not set
CONFIG_CGROUP_FREEZER=y
# CONFIG_CGROUP_DEVICE is not set
CONFIG_CGROUP_CPUACCT=y
# CONFIG_CGROUP_HUGETLB is not set
# CONFIG_CGROUP_PERF is not set
CONFIG_CGROUP_SCHED=y
# CONFIG_BLK_CGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_CGROUP is not set
# CONFIG_NET_CLS_CGROUP is not set
# CONFIG_CGROUP_NET_PRIO is not set
# CONFIG_CGROUP_NET_CLASSID is not set
> BTW, port 0 disables NTP server, but some IP range is allowed, was it
> supposed to run as an NTP server?
Oh, yes, I put port 0 in temporarily while debugging. It's out again now.
> > Do you mean RTC_CMOS is a module? It's the same on both machines, and a
> > socket is indeed created:
> I meant CONFIG_UNIX=m. But if you see the socket created, it's
> probably not related to the problem.
All the same, I've now changed it to built-in after rereading the help page.
It's many years since I set that up.
--
Rgds
Peter
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.