[pkg-ntp-maintainers] Bug#392325: /etc/default/ntpdate should only
contain configuration options
Stefanos Harhalakis
v13 at it.teithe.gr
Wed Oct 11 09:33:46 UTC 2006
Package: ntpdate
Version: 1:4.2.2+dfsg.2-3
Severity: wishlist
/etc/default/ntpdate tries to read /etc/ntp.conf. I believe that this
should be done from the startup script insted of /etc/default/ntpdate.
The current approach requires most users to update their
/etc/default/ntpdate after some upgrades.
I suggest that /etc/default/ntpdate contains the NTPSERVERS and
NTPOPTIONS options only and leave the /etc/init.d/ntpdate to decided whether
the /etc/ntp.conf should be read and how.
IOW, I suggest moving the 'if' blocks to /etc/init.d/ntpdate, even the
default ones, and check for an empty 'NTPSERVERS' in /etc/init.d/ntpdate
and act as needed. This will leave /etc/default/ntpdate with user
configuration options only.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages ntpdate depends on:
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libssl0.9.8 0.9.8c-3 SSL shared libraries
ii lsb-base 3.1-15 Linux Standard Base 3.1 init scrip
ii netbase 4.25 Basic TCP/IP networking system
ntpdate recommends no packages.
-- debconf-show failed
More information about the pkg-ntp-maintainers
mailing list