From 77df77b863b35aa00a5b8e3d63e4dfb094b0aef9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 8 Apr 2024 20:51:16 +0200 Subject: Adding upstream version 252.23. Signed-off-by: Daniel Baumann --- src/network/wait-online/manager.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/network/wait-online/manager.c') diff --git a/src/network/wait-online/manager.c b/src/network/wait-online/manager.c index cd4009e..ffc972b 100644 --- a/src/network/wait-online/manager.c +++ b/src/network/wait-online/manager.c @@ -158,7 +158,9 @@ bool manager_configured(Manager *m) { r = manager_link_is_online(m, l, (LinkOperationalStateRange) { _LINK_OPERSTATE_INVALID, _LINK_OPERSTATE_INVALID }); - if (r < 0 && !m->any) /* Unlike the above loop, unmanaged interfaces are ignored here. */ + /* Unlike the above loop, unmanaged interfaces are ignored here. Also, Configured but offline + * interfaces are ignored. See issue #29506. */ + if (r < 0 && r != -EADDRNOTAVAIL && !m->any) return false; if (r > 0) { if (m->any) -- cgit v1.2.3