5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?

From: spam maps (spamrefuse_at_yahoo.com)
Date: 10/07/04

  • Next message: Randy Bush: "Re: build/install RELENG_5 from a 4.10 system"
    Date: Wed, 6 Oct 2004 19:18:19 -0700 (PDT)
    To: freebsd-current <freebsd-current@freebsd.org>
    
    

    Hello,

    I'm puzzled by the /etc/rc.d/ntpdate script and
    I wonder whether the script is wrong, or there
    is lack of documentation here.

    In /etc/rc.conf, I am using:
      ntpdate_enable="YES"
      ntpd_enable="YES"
    with servers listed in /etc/ntp.conf.

    But I wonder if ntpdate instantly adjusts time
    using the "-b" from default ntpdate_flags.

    The flags used by the /etc/rc.d/ntpdate script
    are found in this order:

    1. If /etc/ntp.conf exists and has servers
       listed, then extract the servers from here.

    2. If above fails to find servers, then use
       servers listed in /etc/rc.conf as
       ntpdate_flags="...".

    3. If all that fails, exit ntpdate without doing
       any time/date modifications.

    I also wonder whether the default ntpdate_flags
    (set to "-b") has any effect at all, since it is
    ignored in case 1.

    Is something wrongly configured here?

    Regards,
    Rob.

                    
    _______________________________
    Do you Yahoo!?
    Declare Yourself - Register online to vote today!
    http://vote.yahoo.com
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Randy Bush: "Re: build/install RELENG_5 from a 4.10 system"

    Relevant Pages

    • Re: Deny rules...
      ... services client I have not implemented it. ... Tony Su ... >The Script makes sure the ip to be blocked is not itīs ... >I have few outside servers to connect from to my servers ...
      (microsoft.public.isa)
    • Re: Software configuration management tool required
      ... If it automates ... and 100-ish servers, it's just not going to happen. ... you test it by running the rc?.d script that init will ... > because Oracle or some vendor tells them to do so. ...
      (comp.unix.admin)
    • Re: trouble with a script
      ... Your snippet of code doesn't look like sh on FreeBSD. ... Basically, I want my script to prompt me for two inputs, then append to ... The user input would be "domain.com", ... is how we set up a client's site on our servers. ...
      (comp.unix.shell)
    • Re: IIS 4.0 DOS attack?
      ... Subject: IIS 4.0 DOS attack? ... patch distribution script we use (exploded hotfixes applied through ... a lot of our servers were fine -- we just ...
      (Focus-Microsoft)
    • Re: trouble with a script
      ... Your snippet of code doesn't look like sh on FreeBSD. ... Basically, I want my script to prompt me for two inputs, then append to ... The user input would be "domain.com", ... is how we set up a client's site on our servers. ...
      (comp.unix.shell)