Subject: Re: ntpd in chroot
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 02/22/2002 05:18:59
1. Make sure you have the latest and greatest /dev/MAKEDEV
2. Run it to make sure you have created the /dev/clockctl device
3. Make sure your kernel config has

	pseudo-device   clockctl

When running chroot, you can't use the normal privileged mechanisms for
adjusting the clock, so you have to use the pseudo-device.

On Fri, 22 Feb 2002, Martti Kuparinen wrote:

> Anyone seen this, i.e. are we missing something in /var/chroot/ntpd?
>
> Feb 22 15:04:34 p4 ntpd[501]: Can't set time of day: Device not configured
> Feb 22 15:04:34 p4 ntpd[501]: time reset -45.242243 s
> Feb 22 15:04:34 p4 ntpd[501]: synchronisation lost
>
> Martti
>
> ---
> Martti Kuparinen <martti.kuparinen@iki.fi>      NetBSD - No media hype
> http://www.iki.fi/~kuparine/                    http://www.netbsd.org/
>
>

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | 9DC5 05CF 1AE7 DC42 CCC6 |  paul@whooppee.com   |
|  & World Cruiser | 6858 051E 7AD2 A6B2 4954 | pgoyette@juniper.net |
----------------------------------------------------------------------