<div dir="ltr">Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 10, 2018 at 12:32 PM, Mantas Mikulėnas <span dir="ltr"><<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div class="gmail_quote"><div dir="ltr">On Sat, Mar 10, 2018, 21:42 Daniel Wang <<a href="mailto:wonderfly@google.com" target="_blank">wonderfly@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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 systemd-timesyncd.service.<div><br></div><div><a href="https://github.com/systemd/systemd/blob/master/units/meson.build#L187:L191" target="_blank">https://github.com/systemd/<wbr>systemd/blob/master/units/<wbr>meson.build#L187:L191</a><br></div><div><br></div><div>Why the difference?</div></div></blockquote></div><div><br></div></span><div>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.)</div><div><br></div><div>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.</div><span class="HOEnZb"><font color="#888888"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div>-- <br><div dir="ltr" class="m_6010103736055722934gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>><br>
Sent from my phone</p>
</div></div>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best,</div><div>Daniel</div></div></div>
</div>