[systemd-devel] Masking .network files

Samuli Suominen ssuominen at gentoo.org
Sat Apr 5 02:39:46 PDT 2014


On 05/04/14 12:26, Tom Gundersen wrote:
> matching file will be applied. The 'masking' logic that you know from
> unit files does not really make much sense for .network files (but
> maybe this is something we should change...). Symlinks to /dev/null
> are just treated as empty .network files, so their meaning is "no
> [Match] section", which matches everything and "no [Network] section",
> which does nothing. I suppose this may be used to express "ignore any
> subsequent .network files", but I doubt that is a particularly useful
> thing to do.

I know you are talking about .network files, but can I get verify on...

You can still override /lib/systemd/network/99-default.link by
symlinking /etc/systemd/network/99-default.link to /dev/null, right?


More information about the systemd-devel mailing list