[pkg-ntp-maintainers] Bug#571469: Bug#571469: ntp: does not start a boot any more

Francesco Potortì Potorti at isti.cnr.it
Mon May 24 10:14:10 UTC 2010


>> /var/log/daemon.log:Feb 25 12:35:31 tucano ntpd_intres[2822]: ntp_intres.request: permission denied
>
>I think this is probably a configuration error where you didn't
>give the resolver process permission to add the hosts.
>
>Note that the default ntp.conf has this:
>restrict 127.0.0.1
>restrict ::1
>
>This used to say:
>restrict 127.0.0.1 nomodify
>
>But the "nomodify" will prevent the resolver process from
>adding the peers.  Note that the resolver process authenticates
>itself to the ntpd process before it can modify anything.
>
>If that's not the issue, can you atleast send the config file?

Sure, I thought that reportbug had provided it.  You find it below.

In fact, the "nomodify" is there.  However, I do not observe the
reported problem any more.  Even after restarting, this is what I now
see in the logs just after restart:

ntpd[27825]: ntpd 4.2.6 at 1.2089-o Mon Feb  8 19:06:26 UTC 2010 (1)
ntpd[27826]: proto: precision = 0.326 usec
ntpd[27826]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
ntpd[27826]: Listen and drop on 1 v6wildcard :: UDP 123
ntpd[27826]: Listen normally on 2 lo 127.0.0.1 UDP 123
ntpd[27826]: Listen normally on 3 eth4 146.48.81.102 UDP 123
ntpd[27826]: Listen normally on 4 lo ::1 UDP 123
ntpd[27826]: Listen normally on 5 eth4 fec0::a:e2cb:4eff:fe4e:44d0 UDP 123
ntpd[27826]: Listen normally on 6 eth4 2002:9230:5205:a:e2cb:4eff:fe4e:44d0 UDP 123
ntpd[27826]: Listen normally on 7 eth4 2a00:1620:c0:50:e2cb:4eff:fe4e:44d0 UDP 123
ntpd[27826]: Listen normally on 8 eth4 fe80::e2cb:4eff:fe4e:44d0 UDP 123


===File /etc/ntp.conf=======================================
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help

driftfile /var/lib/ntp/ntp.drift


# Enable this if you want statistics to be logged.
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable


# You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example
server ntp1.ien.it iburst
server ntp2.ien.it iburst
server ntp1.inrim.it iburst
server ntp2.inrim.it iburst
server swisstime.ethz.ch iburst
server a.ns.madduck.net iburst
server zbasel.fortytwo.ch iburst

## pool.ntp.org maps to about 1000 low-stratum NTP servers.  Your server will
## pick a different set every time it starts up.  Please consider joining the
## pool: <http://www.pool.ntp.org/join.html>
#server 0.debian.pool.ntp.org iburst
#server 1.debian.pool.ntp.org iburst
#server 2.debian.pool.ntp.org iburst
#server 3.debian.pool.ntp.org iburst

# Use the local system clock as a reference if all else fails
# NOTE: in a local network, set the local stratum of *one* stable server
# to 10; otherwise your clocks will drift apart if you lose connectivity.
#server 127.127.1.0
fudge 127.127.1.0 stratum 10


# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
# details.  The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>
# might also be helpful.
#
# Note that "restrict" applies to both servers and clients, so a configuration
# that might be intended to block requests from certain clients could also end
# up blocking replies from your own upstream servers.

# By default, exchange time with everybody, but don't allow configuration.
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery

# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1 nomodify
restrict ::1 nomodify

# Clients from this (example!) subnet have unlimited access, but only if
# cryptographically authenticated.
#restrict 192.168.123.0 mask 255.255.255.0 notrust


# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
broadcast 146.48.87.255

# If you want to listen to time broadcasts on your local subnet, de-comment the
# next lines.  Please do this only if you trust everybody on the network!
#disable auth
#broadcastclient
============================================================

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/






More information about the pkg-ntp-maintainers mailing list