1 |
On Monday 31 December 2007 16:39:30 brant williams wrote: |
2 |
|
3 |
> Can you paste the error you're referring to? |
4 |
|
5 |
Here goes (sorry if line wrapping spoils it), with my four comments: |
6 |
|
7 |
Dec 31 17:32:55 gate chronyd[23772]: chronyd exiting on signal # I'd restarted it; no mention of file operations, note |
8 |
Dec 31 17:32:55 gate chronyd[23855]: chronyd version 1.21 starting |
9 |
Dec 31 17:32:55 gate chronyd[23855]: Could not open RTC file /etc/chrony/chrony.rtc for reading # because it wasn't there |
10 |
Dec 31 17:32:56 gate grsec: From 192.168.129.25: time set by /usr/sbin/chronyd[chronyd:23855] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/chronyd[chronyd:23854] uid/euid:0/0 gid/egid:0/0 # I was ssh'd in from that IP address (this box is headless) |
11 |
Dec 31 17:32:56 gate chronyd[23855]: Initial txc.tick=10000 txc.freq=0 (0.00000000) txc.offset=0 => hz=100 shift_hz=7 |
12 |
Dec 31 17:32:56 gate chronyd[23855]: set_config_hz=0 hz=100 shift_hz=7 basic_freq_scale=1.28000000 nominal_tick=10000 slew_delta_tick=833 max_tick_bias=1000 |
13 |
Dec 31 17:32:56 gate chronyd[23855]: Linux kernel major=2 minor=6 patch=23 |
14 |
Dec 31 17:32:56 gate chronyd[23855]: calculated_freq_scale=0.99902439 freq_scale=0.99902439 |
15 |
Dec 31 17:33:03 gate chronyd[23855]: No valid file coefficients, cannot trim system time # I don't understand what that means |
16 |
|
17 |
So it looks as though chrony can set the system clock, but not write /etc/chrony/chrony.rtc - but it has written /etc/chrony/chrony.drift! |
18 |
|
19 |
$ ls -ld /etc/chrony |
20 |
drwxr-xr-x 2 root root 4096 2007-12-31 17:38 /etc/chrony |
21 |
$ ls -l /etc/chrony |
22 |
total 24 |
23 |
-rw-r--r-- 1 root root 12395 2007-12-31 17:29 chrony.conf |
24 |
-rw-r--r-- 1 root root 42 2007-12-31 17:39 chrony.drift |
25 |
-rw-r--r-- 1 root root 1172 2007-12-31 17:31 chrony.keys |
26 |
|
27 |
I tried touching /etc/chrony/chrony.conf, but it remained empty. |
28 |
|
29 |
$ uname -a |
30 |
Linux gate 2.6.23-hardened-r4-gr #4 Sun Dec 30 16:58:09 GMT 2007 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz GenuineIntel GNU/Linux |
31 |
|
32 |
I'm beginning to wonder whether chrony is capable of running on this box. |
33 |
|
34 |
-- |
35 |
Rgds |
36 |
Peter |
37 |
-- |
38 |
gentoo-hardened@g.o mailing list |