The dhclient-script in Red Hat 8.0 is broken. It defaults to "ignore" 
instead of "nomodify" when generating /etc/ntp.conf from DHCP data. It 
took me a while to figure out why ntp was not synchronizing; here's the 
patch.

*** /sbin/dhclient-script       2002-08-28 10:26:48.000000000 -0700
--- /sbin/dhclient-script       2002-10-24 23:02:09.000000000 -0700
***************
*** 147,153 ****
  
    if [ -n "$new_ntp_servers" ]; then
        cat <<EOF > /etc/ntp.conf
! restrict default ignore
  restrict 127.0.0.1
  driftfile /etc/ntp/drift
  broadcastdelay 0.008
--- 147,153 ----
  
    if [ -n "$new_ntp_servers" ]; then
        cat <<EOF > /etc/ntp.conf
! restrict default nomodify
  restrict 127.0.0.1
  driftfile /etc/ntp/drift
  broadcastdelay 0.008

-- 
"The only thing that helps me maintain my slender grip on reality is the
friendship I share with my collection of singing potatoes."

                        - Holly, JMC Vessel *Red Dwarf*



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to