[systemd-devel] [PATCH] install: Do not enable systemd-networkd by default

Tom Gundersen teg at jklm.no
Fri Feb 21 05:08:00 PST 2014


On Fri, Feb 21, 2014 at 1:53 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Fri, 21.02.14 04:38, Jason A. Donenfeld (Jason at zx2c4.com) wrote:
>
>> systemd-network.service should not be started unless the administrator
>> runs "systemctl enable systemd-network.service", as it's entirely
>> unessential and most distributions use their own network management
>> daemons instead. If some distributions or users choose to use systemd's
>> built in networking, then it is simple enough to enable. But by default,
>> it doesn't make sense to waste resources running this when no networks
>> are configured with it.
>
> I'd propose to make it compile-time optional (logind is too). And I'd
> move it to be installed via [Install] instead of a static symlink in
> /usr. However, I'd still create the /etc symlink on "make install"; the
> same way as we enable remote-fs.target or suchlike.
>
> Tom?

Sounds fine to me.

It is already compile-time optional, so I'll just apply this patch and
add the /etc symlink in a follow-up. Thanks for the patch Jason.

Cheers,

Tom


More information about the systemd-devel mailing list