[pkg-ntp-maintainers] Bug#616684: ntpd complains: syntax error, unexpected T_Mask, expecting T_EOC

Friedemann Stoyan fstoyan at swapon.de
Sun Mar 6 16:07:35 UTC 2011


Package: ntp
Version: 1:4.2.6.p2+dfsg-1+b1
Severity: normal

Dear Maintainers,

when using restrict with IPv6 networks the ntpd complains:

ntpd[18410]: line 41 column 32 syntax error, unexpected T_Mask, expecting T_EOC
ntpd[18410]: syntax error in /etc/ntp.conf line 41, column 32

Line 41 is:

restrict -6 2001:6f8:12ec:10:: mask ffff:ffff:ffff:f000:: nomodify

This configuration works flawlessly with Lennys ntpd (1:4.2.4p4+dfsg)
but no with squeeze anymore.


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ntp depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  dpkg                    1.15.8.10        Debian package management system
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libcap2                 1:2.19-3         support for getting/setting POSIX.
ii  libedit2                2.11-20080614-2  BSD editline and history libraries
ii  libopts25               1:5.10-1.1       automated option processing librar
ii  libssl0.9.8             0.9.8o-4squeeze1 SSL shared libraries
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  netbase                 4.45             Basic TCP/IP networking system

Versions of packages ntp recommends:
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction 

Versions of packages ntp suggests:
pn  ntp-doc                       <none>     (no description available)

-- Configuration Files:
/etc/ntp.conf changed:
driftfile /var/lib/ntp/ntp.drift
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
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
restrict 127.0.0.1
restrict ::1
server ntp1.lab.swapon.de burst
server reliant.lab.swapon.de burst
restrict -6 ntp1.lab.swapon.de
restrict -6 reliant.lab.swapon.de
restrict -4 reliant.lab.swapon.de
restrict -6 2001:6f8:12ec:10:: mask ffff:ffff:ffff:f000:: nomodify


-- no debconf information





More information about the pkg-ntp-maintainers mailing list