On Sun, 11.01.15 18:18, Charles Devereaux (syst...@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
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to