[Bug 1914062] Re: NetworkManager-wait-online.service in 1.28.0-2ubuntu1 fails to start in LXC
Sebastien Bacher
1914062 at bugs.launchpad.net
Wed Feb 3 18:59:20 UTC 2021
Investigating the issue, udev fails to enumerate devices in the lxc
environment when udev_enumerate_add_match_is_initialized is called. The
same test program works in a focal instance.
Discussing the issue on the LXD channel it was raised that the systemd
udev changes in 247 could be creating problems.
The network-manager 1.26 version works because the udev support was wrongly disabled, which was fixed in that commit
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/78dc57d8
** Package changed: network-manager (Ubuntu) => systemd (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1914062
Title:
NetworkManager-wait-online.service in 1.28.0-2ubuntu1 fails to start
in LXC
Status in systemd package in Ubuntu:
Triaged
Bug description:
This regresses systemd's autopkgtest because it expects the system in
the container to reach running state, but the system ends up in
degraded state due to the service failing.
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-hirsute/hirsute/amd64/s/systemd/20210112_185712_ff570@/log.gz
...
======================================================================
FAIL: test_no_failed (__main__.ServicesTest)
No failed units
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.fFC3Lw/build.xLc/real-tree/debian/tests/boot-and-services", line 68, in test_no_failed
self.assertEqual(failed, [])
AssertionError: Lists differ: ['● NetworkManager-wait-online.service loa[42 chars]ine'] != []
First list contains 1 additional elements.
First extra element 0:
'● NetworkManager-wait-online.service loaded failed failed Network Manager Wait Online'
+ []
- ['● NetworkManager-wait-online.service loaded failed failed Network Manager '
- 'Wait Online']
----------------------------------------------------------------------
Ran 23 tests in 4.435s
...
Reproducible locally by installing n-m from -proposed, then restarting
the system in the LXC container.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1914062/+subscriptions
More information about the foundations-bugs
mailing list