]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/nspawn/nspawn-network.c
nspawn: do not fail if udev is not running
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 2 Dec 2019 15:51:44 +0000 (00:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 4 Dec 2019 23:22:16 +0000 (08:22 +0900)
commit26208d5b9674079dcf2c9d301f09a7c7b23bfdc3
treeb4f351d27dde53aa897097147ec3aa56a4e0e990
parentc0dd3269535b346f7d803d6816631af0784bd5bd
nspawn: do not fail if udev is not running

If /sys is read only filesystem, e.g., nspawn is running in container,
then usually udev is not running. In such a case, let's assume that
the interface is already initialized. Also, this makes nspawn refuse
to use the network interface which is under renaming.

Fixes #14223.
src/nspawn/nspawn-network.c