[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: date & X copy/paste broke on upgrading to Debian 11



On Sun 06 Feb 2022 at 12:09:39 -0500, Greg Wooledge wrote:

> On Sun, Feb 06, 2022 at 10:42:31AM -0600, David Wright wrote:
> > That said, I notice you have ntp installed. Does that mean that
> > you're keeping your time synchronised with ntp and, if so, what
> > do you do about systemd-timesyncd, which I understand is enabled
> > by default since several Debian versions ago.
> 
> If an NTP package is installed, systemd-timesyncd is not used.  It
> just never starts.
> 
> On my system, it's not even installed.
> 
> After digging around a bit, I think Debian has changed something on me,
> which I didn't notice until now.
> 
> In older versions of Debian, systemd-timesyncd and ntp (or chrony, etc.)
> would coexist.  systemd-timesyncd.service was configured so that the
> daemon wouldn't be started if any of the other NTP daemons existed on
> the system.
> 
> I can no longer see that in the systemd-timesyncd.service file (which
> I'm viewing as
> <https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/units/systemd-timesyncd.service.in>
> because it's not on my system).
> 
> Instead, the ntp and systemd-timesyncd *packages* now appear to have
> 
> Provides: time-daemon
> 
> which might make them mutually exclusive.

It does. Installation of chrony or ntp removeds the traditional
systemd-timesyncd package.

-- 
Brian.


Reply to: