On 6/7/23 10:54, Richard Laager wrote:
>
> I thought the sequences of events was this:
>
> 0. You are running ntp on bullseye.
> 1. You upgrade to bookworm. This results in ntpsec being installed.
> 2. You removed ntpsec.
> 3. [The part I was asking about.] You reinstalled ntpsec.
> 4. You found that ntpd was not syncing the clock.
> 5. You switched to chrony.
>
> Was it this instead?
>
> 0. You are running ntp on bullseye.
> 1. You upgrade to bookworm. This results in ntpsec being installed.
> 2. You found that ntpd was not syncing the clock.
> 3. You removed ntpsec.
> 4. You switched to chrony.
>
> I'm trying to understand what happened with your ntp.conf. Upgrading from ntp 
> to ntpsec should result in your existing /etc/ntp.conf being copied to 
> /etc/ntpsec/ntp.conf by ntpsec.preinst.
>
It was the second scenario.
As usual during upgrade I got those messages "you changed this config file, do 
you want
to keep it or use the maintainers version", then I normally select "keep" every 
time (the default)
and afterwards I do a "find / -name '*.dpkg-*'" to find all the new config 
files, review the diffs, and modify
the new version with the same changes I made to the previous one.
(in this case to remove the pool servers and add my own)

So it was basically running with default config, except that I added two of my 
own servers
and removed the pool servers.
I do it this way to avoid situations where new default files are better and/or 
required with
new packages, and I do not want to keep my old config all the time.

Reply via email to