Various things in the default ntp configuration files could be improved to provide a smoother installation and configuration for most normal users. Ideally we could reach a situation where most users wouldn't have to touch the configuration files at all. Of course more advanced users would still like to tweak things, but I think the following things would simplify even for them: 1. The default /etc/conf.d/ntp-client file contains a reference to "someserver". This could be replaced with pool.ntp.org: NTPCLIENT_OPTS="-Q -b pool.ntp.org" 2. The default /etc/ntp.conf could contain the same default servers (but keeping the current notes for people who need better precision): server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org 3. Security policy no 2 in /etc/ntp.conf could be picked as default and uncommented: restrict default notrust nomodify restrict 127.0.0.1 Alternatively, also add a "noquery" to make the service not respond to external queries. 4. The ntp.conf example file could thereafter be installed as /etc/ntp.conf. And voil
Various things in the default ntp configuration files could be improved to provide a smoother installation and configuration for most normal users. Ideally we could reach a situation where most users wouldn't have to touch the configuration files at all. Of course more advanced users would still like to tweak things, but I think the following things would simplify even for them: 1. The default /etc/conf.d/ntp-client file contains a reference to "someserver". This could be replaced with pool.ntp.org: NTPCLIENT_OPTS="-Q -b pool.ntp.org" 2. The default /etc/ntp.conf could contain the same default servers (but keeping the current notes for people who need better precision): server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org 3. Security policy no 2 in /etc/ntp.conf could be picked as default and uncommented: restrict default notrust nomodify restrict 127.0.0.1 Alternatively, also add a "noquery" to make the service not respond to external queries. 4. The ntp.conf example file could thereafter be installed as /etc/ntp.conf. And voilá - ntp would work out of the box for most people. Reproducible: Always Steps to Reproduce: This is probably related to bug #54564. Running net-misc/ntp-4.2.0-r2.
it's not often i get a good bug report about ntp ... usually people get angry at me and/or flame :) awesome suggestions, ive pretty much added them all ... with #2, i just added one 'server pool.ntp.org' instead of three lines for 0,1,2 with #3, i didnt add the 'noquery' option since i think many people who run their own ntpd do so to allow their little network to sync up ... i could be wrong ;)
Wow, that was a quick fix! Many thanks! Lets hope ntp works better for people now, so that you'll see fewer bug reports in the future. :-)