]> git.ipfire.org Git - thirdparty/systemd.git/commit
wait-online: request that at least one managed online interface exists
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 29 May 2023 03:37:44 +0000 (12:37 +0900)
committerLennart Poettering <lennart@poettering.net>
Wed, 31 May 2023 20:12:03 +0000 (22:12 +0200)
commit2f96a29c2c55bdd67cdd8e0b0cfd6971968e4bca
treee4b4eaaa2b3b3b1d67207f279d4c5d8612a2f7f2
parent505c501c67dbfc240dffb681c54e241bc6e4f83f
wait-online: request that at least one managed online interface exists

Fixes a regression caused by ab3aed4a0349bbaa26f53340770c1b59b463e05d.

I thought the commit does not cause any severe regression. However,
drivers for network interfaces may be loaded later. So, we should wait
if no network interface is found.

Fixes #27822.
src/network/wait-online/manager.c
test/test-network/systemd-networkd-tests.py