Subject: ntpd oddities possibly related to sysctl change
To: None <atatat@netbsd.org, tech-kern@netbsd.org>
From: Sean Davis <dive-nb@endersgame.net>
List: tech-kern
Date: 12/08/2003 22:03:31
--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Andrew: if this isn't related to the sysctl changes, sorry in advance, but
that's the only thing changed that I can think of between the time ntpd was
working as it used to be, and when it was working as it is now.
ntpd is running chrooted:
dive@eros:/home/dive % grep ntp /etc/rc.conf
ntpd=YES
ntpd_chrootdir="/var/chroot/ntpd"
dive@eros:/home/dive % ls -laR /var/chroot/ntpd
total 8
drwxr-xr-x 4 root wheel 512 Jan 25 2002 .
drwxr-xr-x 9 root wheel 512 Nov 24 07:59 ..
drwxr-xr-x 2 root wheel 512 Aug 26 2002 dev
drwxr-xr-x 4 root wheel 512 Jan 25 2002 var
/var/chroot/ntpd/dev:
total 4
drwxr-xr-x 2 root wheel 512 Aug 26 2002 .
drwxr-xr-x 4 root wheel 512 Jan 25 2002 ..
crw-rw---- 1 root ntpd 89, 0 Aug 26 2002 clockctl
/var/chroot/ntpd/var:
total 8
drwxr-xr-x 4 root wheel 512 Jan 25 2002 .
drwxr-xr-x 4 root wheel 512 Jan 25 2002 ..
drwxrwxr-x 2 root ntpd 512 Dec 8 21:12 db
drwxrwxr-x 2 root ntpd 512 Dec 8 21:22 run
/var/chroot/ntpd/var/db:
total 6
drwxrwxr-x 2 root ntpd 512 Dec 8 21:12 .
drwxr-xr-x 4 root wheel 512 Jan 25 2002 ..
-rw-r--r-- 1 ntpd ntpd 9 Dec 8 21:12 ntp.drift
/var/chroot/ntpd/var/run:
total 4
drwxrwxr-x 2 root ntpd 512 Dec 8 21:22 .
drwxr-xr-x 4 root wheel 512 Jan 25 2002 ..
srw-rw-rw- 1 root ntpd 0 Dec 8 21:22 log
Nothing in the ntp configuration has changed since I upgraded from 1.6ZF to
ZG, but now I see:
Dec 8 21:33:26 eros ntpd[2131]: ntpd 4.2.0-r Mon Dec 8 02:22:34 EST 2003
(1)
Dec 8 21:33:26 eros ntpd[2131]: precision = 2.000 usec
Dec 8 21:33:26 eros ntpd[2131]: no IPv6 interfaces found
Dec 8 21:33:26 eros ntpd[2131]: kernel time sync status 0040
Dec 8 21:33:26 eros ntpd[2131]: frequency initialized -115.078 PPM from
/var/db/ntp.drift
Dec 8 21:37:45 eros ntpd[2131]: synchronized to 140.162.8.3, stratum=2
Dec 8 21:37:45 eros ntpd[2131]: kernel time sync disabled 0041
Dec 8 21:38:51 eros ntpd[2131]: kernel time sync enabled 0001
-Sean
--
/~\ The ASCII
\ / Ribbon Campaign Sean Davis
X Against HTML aka dive
/ \ Email!
--3lcZGd9BuhuYXNfi
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQE/1TuDcMEZWGhfx9kRAsSLAJ9PT6Oxxpilf2NYU6d+ClTnVmBRJgCfc3Qr
/1P69vd7yMm0wGSa8mUH8qk=
=0wG2
-----END PGP SIGNATURE-----
--3lcZGd9BuhuYXNfi--