<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>64171</bug_id>
          
          <creation_ts>2004-09-15 13:03 0000</creation_ts>
          <short_desc>When you emerge NTP v4.2.x, the  /usr/share/ntp.conf config file will have multiple restrict lines.</short_desc>
          <delta_ts>2005-07-17 13:06:51 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Server</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>oliversnowden@snodnipper.co.uk</reporter>
          <assigned_to>vapier@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>oliversnowden@snodnipper.co.uk</who>
            <bug_when>2004-09-15 13:03:14 0000</bug_when>
            <thetext>It is evident from: http://gentoo-wiki.com/HOWTO_NTP that this is a known problem. 

Basically, NTP v4.2.x doesn&apos;t support multiple restrict lines. Therefore, when the default /usr/share/ntp/ntp.conf is copied to /etc/ntp.conf, it doesn&apos;t work because &quot;restrict default notrust nomodify&quot; and &quot;restrict 127.0.0.1&quot; need to be combined into &quot;restrict 127.0.0.1 notrust nomodify&quot;.

Without performing the above correction, when one types &quot;ntpq -np&quot;, the jitter is set to 4000 and the output looks something like: 

remote refid st t when poll reach delay offset jitter                                  
===================================================                                    
tock.usno.navy 0.0.0.0 16 u - 64 0 0.000 0.000 4000.00




Reproducible: Always
Steps to Reproduce:
1. emerge ntp
2. cp /usr/share/ntp/ntp.conf
3. /etc/init.d/ntpd start

Actual Results:  
remote refid st t when poll reach delay offset jitter                          
       
===================================================                            
       
tock.usno.navy 0.0.0.0 16 u - 64 0 0.000 0.000 4000.00

Expected Results:  
4000 should be closer to 0!

This is only a minor issue - although it does waste time!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>oliversnowden@snodnipper.co.uk</who>
            <bug_when>2004-09-15 13:15:07 0000</bug_when>
            <thetext>Steps to Reproduce should be:
1. emerge ntp
2. cp /usr/share/ntp/ntp.conf /etc/ntp.conf
3. /etc/init.d/ntpd start</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-11-09 07:30:22 0000</bug_when>
            <thetext>

*** This bug has been marked as a duplicate of 65502 ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>