Bug 64171 - When you emerge NTP v4.2.x, the /usr/share/ntp.conf config file will have multiple restrict lines.
Bug#: 64171 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: DUPLICATE Assigned To: vapier@gentoo.org Reported By: oliversnowden@snodnipper.co.uk
Component: Server
URL: 
Summary: When you emerge NTP v4.2.x, the /usr/share/ntp.conf config file will have multiple restrict lines.
Keywords:  
Status Whiteboard: 
Opened: 2004-09-15 13:03 0000
Description:   Opened: 2004-09-15 13:03 0000
It is evident from: http://gentoo-wiki.com/HOWTO_NTP that this is a known
problem. 

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

Without performing the above correction, when one types "ntpq -np", 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!

------- Comment #1 From Oliver F J Snowden 2004-09-15 13:15:07 0000 -------
Steps to Reproduce should be:
1. emerge ntp
2. cp /usr/share/ntp/ntp.conf /etc/ntp.conf
3. /etc/init.d/ntpd start

------- Comment #2 From SpanKY 2004-11-09 07:30:22 0000 -------

*** This bug has been marked as a duplicate of 65502 ***