Date: Fri, 5 May 2000 07:55:46 -0400 From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: Stephen Beitzel <sbeitzel@foobie.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: xntpd startup duplication Message-ID: <20000505075546.B13920@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <200005050742.AAA00400@foobie.net>; from sbeitzel@foobie.net on Fri, May 05, 2000 at 12:42:06AM -0700 References: <200005050742.AAA00400@foobie.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 05, 2000 at 12:42:06AM -0700, Stephen Beitzel wrote: > I have noticed that when I start up my FreeBSD (3.4) box, xntpd gets started > twice. The second time, it fails to run (gracefully) and writes a message to > the console saying that the port it wanted to use was already in use by > something else. (Duh. The first instance of xntpd.) > > Anyway, I finally got curious and went looking through the /etc/rc* files. > It turns out that /etc/rc and /etc/rc.network both invoke xntpd. The test > is different, though: > > >From /etc/rc: > if [ "X${xntpd_enable}" != X"NO" ]; then > echo -n ' xntpd'; xntpd > fi This is not in the current /etc/rc file for FreeBSD 3.4. What is the version of this file (the second line at the top, starting with '$FreeBSD'). > >From /etc/rc.network: > if [ "X${xntpd_enable}" = X"YES" ]; then > echo -n ' xntpd'; ${xntpd_program} ${xntpd_flags} > fi > > A couple of thoughts occured to me. > 1) It seems silly to me to have this test occur in two places. Probably, > whoever the maintainer is for the rc files ought to remove it from > one of them. It's not there now. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000505075546.B13920>