Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2003 21:57:23 -0600
From:      "Lord Sith" <lordsith49@hotmail.com>
To:        freebsduser@attbi.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Time Problem in 5.0
Message-ID:  <Law11-F69C7tXjs5FGJ000059d8@hotmail.com>

next in thread | raw e-mail | index | archive | help
Also from nptd's man page:

-q      Exit the ntpd just after the first time the clock is set. This 
behavior mimics that of the ntpdate(8) program, which is to be retired. The 
-g and -x options can be used with this option.

So this option comes close, but only mimics. So I would prefer to avoid the 
mess that would come with waiting for ntpd to do its thing and use a program 
that does no more than what I want it to.

My personal preference though... I tend to be a minimalist when it comes to 
running things on my boxes.

>From: K Anderson <freebsduser@attbi.com>
>To: Lord Sith <lordsith49@hotmail.com>
>
>Lord Sith wrote:
>>>From: Bill Moran <wmoran@potentialtech.com>
>>>To: Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
>>>CC: freebsd-questions@freebsd.org
>>>Subject: Re: Time Problem in 5.0
>>>Date: Fri, 25 Apr 2003 15:54:06 -0400
>>>
>>>Lowell Gilbert wrote:
>>>
>>>>Shantanu Mahajan <shantanoo@ieee.org> writes:
>>>>
>>>>>| Also, ntpdate is depreciated.  You should be using ntpd with the
>>>>>| proper switches/configuration.
>>>>>     ntpdate was working *perfectly* with
>>>>>     4.7R,4.8-Stable.
>>>>
>>>>
>>>>
>>>>So?  That's a significantly different version.
>>>>
>>>>Are you *sure* you want to be running 5.0?  It doesn't sound like you're 
>>>>much of a debugger yourself, and it's not
>>>>as though 5.x is recommended for anybody else yet...
>>>
>>>
>>>I'm going to repeat myself here:
>>>ntpdate is depreciated.  The functionality in it is duplicated by ntpd.
>>>It shouldn't even be in the 5.0 tree.  I'm considering filing a pr to
>>>request that it be removed.  Opinions?
>>>
>>>--
>>>Bill Moran
>>>Potential Technologies
>>>http://www.potentialtech.com
>>>
>>>_______________________________________________
>>>freebsd-questions@freebsd.org mailing list
>>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>To unsubscribe, send any mail to 
>>>"freebsd-questions-unsubscribe@freebsd.org" > ntpd only claims to >mimic 
>>>ntpdate in functionality.
> >
> > I'm not excited about the prospect of having another daemon running with
> > root priveldges on a known port for something that only needs to be run
> > maybe two or three times a day.
> >
>>
>>
>>
>>_________________________________________________________________
>>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
>>http://join.msn.com/?page=features/virus
>>
>>_______________________________________________
>>freebsd-questions@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to 
>>"freebsd-questions-unsubscribe@freebsd.org"
>>
>
>From ntpd's man page -
>      In some cases it may not be practical for ntpd to run continuously. A 
>common workaround has been to run the ntpdate(8) program from a cron(8) job 
>at designated times.  However, this program does not have the crafted 
>signal processing, error checking and mitigation algorithms of ntpd.  The 
>-q option is intended for this purpose. Setting this option will cause ntpd 
>to exit just after setting the clock for the first time.  The proce-dure 
>for initially setting the clock is the same as in continuous mode; most 
>applications will probably want to specify the iburst keyword with the 
>server configuration command.  With this keyword a volley of messages are 
>exchanged to groom the data and the clock is set in about a minute. If 
>nothing is heard after a couple of minutes, the daemon times out and exits. 
>  After a suitable period of mourning, the ntpdate(8) program may be 
>retired.
>
>There's more, so take a look at it. And if  you're worried about an open 
>port while ntpd is doing it's thing then create a firewall rule to block 
>incoming requests or determine how you can get ntpd to listen only on 
>localhost or something.
>
>Problem solved.
>
>


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Law11-F69C7tXjs5FGJ000059d8>