Bug#415335: [pkg-ntp-maintainers] Bug#415335: ntp: Allow to set the time in slewed mode upon installation.

David Ayers ayers at fsfe.org
Sun Mar 18 19:34:01 CET 2007


Kurt Roeckx schrieb:
> On Sun, Mar 18, 2007 at 05:53:06PM +0100, David Ayers wrote:
> 
>>>You mean that ntpd should started with the -x option?
>>>
>>>You can already do this by editing /etc/default/ntp and adding
>>>-x to the NTPD_OPTS.
>>>
>>>I'm not sure a debconf question for this is needed.
>>
>>Ah, but prior to installation there is no /etc/default/ntp.  Or are you
>>suggesting one should be created manually before installing?
> 
> 
> You could create it before installation, but you'll get dpkg to ask you
> a question what to do with it in that case.  You could just edit it
> after installation and restart ntpd.
> 
> I'm not exactly sure what you try to do.

I want to avoid going back in time during installation of ntp.

Take an installation on which the clock is ahead (migrating a virtual
session for example) and ntp is not yet installed.  Now I want to
install ntp to synchronize the clock, but because certain services are
already configured and running I want to avoid resting the abruptly.

So now I do: apt-get install ntp/aptitude install ntp/(insert you
favorite front end).  During the installation ntp is started and resets
the clock with settimeofday and I go back in time without the
possibility to tell it to use adjtime instead. :-/

So what I'm asking for is the opportunity to configure ntp before it is
initially started right after installation.  I hope I'm making myself
clear.

Cheers,
David




More information about the pkg-ntp-maintainers mailing list