[pkg-ntp-maintainers] Bug#600661: ntp: Uses /var/lib/ntp/ntp.conf.dhcp regardless!?

Tim Connors reportbug at rather.puzzling.org
Mon Oct 18 22:17:48 UTC 2010


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

Because dhcp was once installed on this machine,
/var/lib/ntp/ntp.conf.dhcp exists.

Ntp uses this regardless, completely ignoring /etc/ntp.conf.

Is this in any way sane?

Who generated /var/lib/ntp/ntp.conf.dhcp?  Why wasn't it removed when
dhcp did not bind the interface?  Why would it completely ignore any
settings in /etc/ntp.conf when using dhcp?  Shouldn't it just override
or add to the servers instead of rewriting the entire configuration?




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages ntp depends on:
ii  adduser                  3.112           add and remove users and groups
ii  dpkg                     1.15.8.5        Debian package management system
ii  libc6                    2.11.2-6        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-2        SSL shared libraries
ii  lsb-base                 3.2-23.1        Linux Standard Base 3.2 init scrip
ii  netbase                  4.42            Basic TCP/IP networking system

Versions of packages ntp recommends:
ii  perl                          5.10.1-14  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
server cbnntp iburst dynamic
server 192.231.167.19 iburst dynamic
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
restrict 127.0.0.1
restrict ::1


-- no debconf information





More information about the pkg-ntp-maintainers mailing list