[systemd-devel] systemd networking : problems with bridges

Lennart Poettering lennart at poettering.net
Wed Jan 28 18:41:00 PST 2015


On Sun, 11.01.15 18:18, Charles Devereaux (systemd at guylhem.net) wrote:

> What about another option in networkd-wait-online-link.c to pass an
> "ignore" parameter, along with a list of interfaces names, so that
> link_relevant does: something like:
> 
>         if (l->flags & IFF_LOOPBACK)
>                 return false;
> 
>         if (STR_IN_SET(l->ifname, arg_ignore)) {
>                 return false;
> 
> At the moment, my dirty workaround is to have br0 hardcoded  in
> manager_all_configured from src/network/networkd-wait-online-manager.c:
> 
> if (!link_relevant(l) || STR_IN_SET(l->ifname, "br0")) {

I think such a patch that introduces --ignore-interface= or so would
make sense. If you prep a good patch we can merge this.

I'd probably even go one step further with this, and make this a glob,
so that once can easily ignore whole sets of interfaces...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list