Post by Daniel Wang
I am puzzled by the fact that while symlinks for most builtin units are
installed at /usr/lib/systemd/system, a few are linked at
/etc/systemd/system, for example, systemd-networkd.service and
Why the difference?
Symlinks in /usr are supposed to be essentially fixed: the distro installs
them as part of the package and the unit is always enabled, unless masked.
(Some of them don't even have an [Install] section.)
Symlinks in /etc, meanwhile, are just defaults for someone who installs
from source; the service itself is optional and distros might apply the
same defaults via presets, or via post_install, or not at all. In any case
the admin can still disable networkd and timesyncd using normal commands.
Mantas MikulÄnas <***@gmail.com>
Sent from my phone