On 29/01/2025 19:16, Greg Wooledge wrote:
dbus-org.freedesktop.timesync1.service symlink is a service name alias
for systemd-timesyncd.service.  I have no idea *why* this alias was
desired, but that's apparently what it is.

systemd.unit(5) explains that it is to start the service on demand in the case of invocation through D-Bus.

When the systemd-timesyncd package is removed, that alias symlink is
left behind.  It doesn't do anything, so it's probably safe to remove
it.  On the other hand, it doesn't do anything, so it's definitely
safe to leave it alone.

I would check that the dangling symlink does not generate noise in logs in response to

    systemctl reload

and that it does not cause registration of the D-Bus service. When systemd-timesyncd is installed (and running):

    busctl | grep times
:1.1 1169 systemd-timesyn systemd-timesync :1.1 systemd-timesyncd.service - - org.freedesktop.timesync1 1169 systemd-timesyn systemd-timesync :1.1 systemd-timesyncd.service - -

if it appears when the package is removed then some applications may be confused. I expect that it is safer to remove the invalid symlink.

Reply via email to