From owner-freebsd-net Tue Jun 27 12:38:29 2000 Delivered-To: freebsd-net@freebsd.org Received: from mail.numachi.com (numachi.numachi.com [198.175.254.2]) by hub.freebsd.org (Postfix) with SMTP id 6ECE537C013 for ; Tue, 27 Jun 2000 12:38:23 -0700 (PDT) (envelope-from reichert@numachi.com) Received: (qmail 4809 invoked by uid 1001); 27 Jun 2000 19:38:06 -0000 Date: Tue, 27 Jun 2000 15:38:06 -0400 From: Brian Reichert To: Garrett Wollman Cc: Brian Reichert , freebsd-net@FreeBSD.ORG Subject: Re: suggested hack for ntpdate flags Message-ID: <20000627153805.F1800@numachi.com> References: <20000627151956.D1800@numachi.com> <200006271927.PAA75287@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: <200006271927.PAA75287@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Tue, Jun 27, 2000 at 03:27:13PM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 27, 2000 at 03:27:13PM -0400, Garrett Wollman wrote: > < said: > > > I've taken to doing this in various boxes in /etc/rc.conf: > > ntpdate_flags="`sed -n 's/^server \(.*\)/\1/p' < /etc/ntp.conf`" > > > just so I don't have two lists of time servers to maintain. > > Hmmm. Around here, we simply call our NTP servers `ntp-0', `ntp-1', > and `ntp-2', so there's no maintenance involved. I can see where your > approach might help for a site which doesn't run its own NTP servers. I do run my own servers. Irrespective of _what_ you name your time servers (or whether they're internal or not), with the above hack, you only need record them once in /etc/ntpd.conf. You don't then need to also cite them in /etc/rc.conf. Of course, if your site has ready mechanisms for provisioning machines, then such things could simply be pre-configured into your reference machine to be distributed. I need such a thing in that I'm responsible for preovisioning machines in several sites; this is one of those hacks I keep carrying around with me. I was volunteering it more for the masses at large, as someone new to configuring time syncronization clients might find it useful. Just a suggestion anyway; I'm not going to get bent out of shape if it's not useful to others... > -GAWollman > > -- > Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same > wollman@lcs.mit.edu | O Siem / The fires of freedom > Opinions not those of| Dance in the burning flame > MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick -- Brian 'you Bastard' Reichert reichert@numachi.com 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message