[pkg-ntp-maintainers] Bug#581670: ntp(init scripts) start sometimes more than one ntp process (and does not stop them)

Christoph Anton Mitterer calestyo at scientia.net
Thu May 13 00:32:35 UTC 2010


Package: ntp
Version: 1:4.2.6+dfsg-1
Severity: important


Hi.

I found out some strange behaviour:
I have three network interfaces defined in /etc/network/interfaces:
lo, eth0, wlan0

If all of them are up and I do
/etc/init.d/ntp start => 1 running ntp process
/etc/init.d/ntp stop => 0 running ntp processes

However, if e.g. wlan0 is down:
/etc/init.d/ntp start => 2 running ntp processes
/etc/init.d/ntp stop => 1 running ntp process

If I continue to to start/stop,.... the number of running ntp processes grows.


Guess there is something wrong with some ifupdown hook-scripts?


Cheers,
Chris.

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

Kernel: Linux 2.6.33-heisenberg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ntp depends on:
ii  adduser                  3.112           add and remove users and groups
ii  libc6                    2.10.2-8        Embedded GNU C Library: Shared lib
ii  libcap2                  1:2.17-2        support for getting/setting POSIX.
ii  libedit2                 2.11-20080614-1 BSD editline and history libraries
ii  libopts25                1:5.10-1.1      automated option processing librar
ii  libssl0.9.8              0.9.8n-1        SSL shared libraries
ii  lsb-base                 3.2-23.1        Linux Standard Base 3.2 init scrip
ii  netbase                  4.41            Basic TCP/IP networking system

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

Versions of packages ntp suggests:
ii  ntp-doc                   1:4.2.6+dfsg-1 Network Time Protocol documentatio

-- Configuration Files:
/etc/logcheck/ignore.d.server/ntp [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.server/ntp'
/etc/ntp.conf changed:
driftfile /var/lib/ntp/ntp.drift
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 ptbtime1.ptb.de
server ptbtime2.ptb.de
server ptbtime3.ptb.de
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