Re: remark related about package removal on bookworm providing a systemd service

2025-01-29 Thread Max Nikulin
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

Re: Re: remark related about package removal on bookworm providing a systemd service

2025-01-29 Thread Greg Wooledge
On Wed, Jan 29, 2025 at 02:18:23 -0500, Jeffrey Walton wrote: > Some old programs use non-existent symlinks to store or persist state > information rather than create a normal file. But I don't believe > systemd uses the technique. Not on purpose, but systemd does use symbolic links to store state

Re: Re: remark related about package removal on bookworm providing a systemd service

2025-01-28 Thread Jeffrey Walton
On Tue, Jan 28, 2025 at 5:02 PM Patrice Duroux wrote: > > Of course, maybe I misspoke but my point wasn't about the configuration files > remaining as expected just removing the package and not purging it. It is > about > the broken symlink to its service file which is for sure no more present >

Re: remark related about package removal on bookworm providing a systemd service

2025-01-28 Thread Max Nikulin
On 29/01/2025 01:39, Greg Wooledge wrote: The question is about this dangling symlink: 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 [...]

Re: remark related about package removal on bookworm providing a systemd service

2025-01-28 Thread didier gaumet
Le 28/01/2025 à 23:28, David Wright a écrit : [...] 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

Re: remark related about package removal on bookworm providing a systemd service

2025-01-28 Thread Jeffrey Walton
On Tue, Jan 28, 2025 at 3:30 PM didier gaumet wrote: > > Le 28/01/2025 à 20:42, didier gaumet a écrit : > [...] > > the installation of the package (seemly the default policy in Debian), > [...] > > sorry for my poor english: please replace "seemly" by "apparently" Don't apologize. Your English i

Re: remark related about package removal on bookworm providing a systemd service

2025-01-28 Thread David Wright
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/syst

Re: remark related about package removal on bookworm providing a systemd service

2025-01-28 Thread didier gaumet
Le 28/01/2025 à 20:42, didier gaumet a écrit : [...] the installation of the package (seemly the default policy in Debian), [...] sorry for my poor english: please replace "seemly" by "apparently"

Re: remark related about package removal on bookworm providing a systemd service

2025-01-28 Thread didier gaumet
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 sym

Re: Re: remark related about package removal on bookworm providing a systemd service

2025-01-28 Thread Greg Wooledge
On Tue, Jan 28, 2025 at 19:07:51 +0100, Patrice Duroux wrote: > Of course, maybe I misspoke but my point wasn't about the configuration files > remaining as expected just removing the package and not purging it. It is > about > the broken symlink to its service file which is for sure no more prese

Re: Re: remark related about package removal on bookworm providing a systemd service

2025-01-28 Thread Patrice Duroux
Of course, maybe I misspoke but my point wasn't about the configuration files remaining as expected just removing the package and not purging it. It is about the broken symlink to its service file which is for sure no more present whatever a removal or a purge. Or is such a symlink considered as

Re: remark related about package removal on bookworm providing a systemd service

2025-01-27 Thread didier gaumet
Le 27/01/2025 à 17:39, Patrice Duroux a écrit : Hi, I do not know if this is something already addressed (elsewhere or in Trixie), a package issue or something more general. On a bookworm system, removing systemd-timesyncd is leaving a broken symlink (/etc/systemd/system/dbus-org.freedesktop.ti