[systemd-devel] nspawn networkd could not find udev device

kennedy kennedyhan at 163.com
Wed Mar 2 08:53:01 UTC 2016


Hi


On my first run systemd-nspawn everything that's OK.
When I shutdown the nspawn container, and re-run systemd-nspawn again, this error comes.
In container, it's only have 169.254.x.x network, didn't have network bridge's network.

On my host, I run systemctl status systemd-networkd it show me



systemd-networkd[23507]: br-containers   : netdev ready
systemd-networkd[23507]: eth0            : gained carrier
systemd-networkd[23507]: lo              : gained carrier
systemd-networkd[23507]: br-containers   : link configured
systemd-networkd[23507]: br-containers   : gained carrier
systemd-networkd[23507]: vb-t1           : could not find udev device
systemd-networkd[23507]: br-containers   : lost carrier
systemd-networkd[23507]: br-containers   : gained carrier


My container's log:
systemd[1]: Starting Network Service...
systemd-networkd[41]: Enumeration completed
systemd[1]: Started Network Service.
systemd-networkd[41]: host0: Could not bring up interface: Invalid argument
systemd-networkd[41]: host0: Gained carrier
systemd-networkd[41]: host0: Gained IPv6LL


And I restart the host's systemd-networkd service, and re-run container again, that's solved, why ?


------
Yours Sincerely
Han
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160302/d2cde638/attachment.html>


More information about the systemd-devel mailing list