Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2003 03:36:32 -0400
From:      Mike Makonnen <mtm@identd.net>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        phk@phk.freebsd.dk
Subject:   Re: Add timecounter option to rc.conf
Message-ID:  <20030408073633.VFPY1699.pop018.verizon.net@kokeb.ambesa.net>
In-Reply-To: <xzpllyns3cx.fsf@flood.ping.uio.no>
References:  <30340.1049663478@critter.freebsd.dk> <xzpllyns3cx.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 06 Apr 2003 23:49:50 +0200
Dag-Erling Smorgrav <des@ofug.org> wrote:

> "Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
> > I on the other hand think that by now /etc/rc.conf has so many knobs
> > and handles that it is practically impossible to figure out how to
> > do anything without resorting to "less /etc/rc.*" to figure it out :-(
> 
> 'man rc.conf' should hopefully be reasonably up to date, and
> /etc/defaults/rc.conf briefly documents most of the knobs.  The main
> problem is that there are knobs which aren't listed in either of these
> and which I suspect even most committers never knew existed, because
> our rc.d scripts were imported wholesale from NetBSD with some but
> IMHO not enough adaptation.  Differences between NetBSD and FreeBSD
> should have been viewed as an opportunity to improve both, but instead
> the scripts were "dumbed down" to provide very little beyond what
> already existed in FreeBSD.

Please check the archives for the reasons. 
Having said that, more work is forthcomming.

> Currently, ntpdate gets its server list from the ntpdate_hosts
> variable, or from ntp.conf if ntpdate_hosts is empty.  None of this is
> documented, because it came from NetBSD with rcNG.  Previously, we had
> to list servers in ntpdate_flags; I bet a lot of people still do,
> unaware that the servers listed in ntp.conf will be appended to this
> list.

They aren't documented because we don't use them. There are two paths in the
rc.d/ntpdate script: one for FreeBSD and one for NetBSD. The FreeBSD path is
the same as in the old rc.

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm@FreeBSD.Org| FreeBSD - The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030408073633.VFPY1699.pop018.verizon.net>