On Tue 28 Jan 2025 at 20:42:49 (+0100), didier gaumet wrote:
> Le 28/01/2025 à 19:39, Greg Wooledge a écrit :
> [...]
> > hobbit:/etc/systemd/system$ ls -l dbus-org.freedesktop.timesync1.service
> > lrwxrwxrwx 1 root root 45 Feb 17  2024 
> > dbus-org.freedesktop.timesync1.service -> 
> > /lib/systemd/system/systemd-timesyncd.service
> [...]
> > I'm unclear on exactly how this symlink gets created.  (If I still had
> > the package installed, I would look at the postinst script and so on,
> > but since I've removed the package, that's more difficult.  Also,
> > <http://packages.debian.org/systemd-timesyncd> is not responding at
> > the moment.)
> [...]
> 
> I suppose this link is symply the result of the service being enabled
> at the installation of the package (seem[ing]ly the default policy in
> Debian), something like "systemctl enable systemd-timesyncd.service"
> in postinst?

But would that not be /etc/systemd/system/…/systemd-timesyncd.service?
The dangling symlink is for ….timesync1.service, whatever that is.

Analogously, my systemd-networkd service has two symlinks:
  /e/s/s/dbus-org.freedesktop.network1.service
  /e/s/s/multi-user.target.wants/systemd-networkd.service
both pointing to /lib/systemd/system/systemd-networkd.service .
I don't know what the first of those does.

Cheers,
David.

Reply via email to