Bug#392325: /etc/default/ntpdate should only contain configuration options

2006-10-11 Thread Stefanos Harhalakis
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  libc62.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-3SSL shared libraries
ii  lsb-base 3.1-15  Linux Standard Base 3.1 init scrip
ii  netbase  4.25Basic TCP/IP networking system

ntpdate recommends no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#392325: [pkg-ntp-maintainers] Bug#392325: /etc/default/ntpdate should only contain configuration options

2006-10-11 Thread Peter Eisentraut
Am Mittwoch, 11. Oktober 2006 11:33 schrieb Stefanos Harhalakis:
 /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.

Yeah, I too have become increasingly unhappy with the amount of programming 
that now goes on in /etc/default/ntpdate.  I'm working on a solution that 
will cut down on that.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]