[Bug 1811628] Re: Ubuntu 18.04 systemctl is-system-running always shows degraded in LXD containers
Launchpad Bug Tracker
1811628 at bugs.launchpad.net
Mon Jul 27 15:11:26 UTC 2020
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: systemd (Ubuntu)
Status: New => Confirmed
--
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/1811628
Title:
Ubuntu 18.04 systemctl is-system-running always shows degraded in LXD
containers
Status in systemd package in Ubuntu:
Confirmed
Bug description:
Issue in Ubuntu 18.04 LTS:
lxc launch ubuntu-daily:18.04
lxc shell <containername>
# systemctl is-system-running
degraded
# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● sys-kernel-config.mount loaded failed failed Kernel Configuration File System
● systemd-modules-load.service loaded failed failed Load Kernel Modules
Fixed in Ubuntu 19.04:
lxc launch ubuntu-daily:19.04
lxc shell <containername>
systemctl is-system-running
running
It appears to be fixed by adding: ConditionVirtualization=!container
to both. Can this be backported to 18.04 or are we stuck with special
casing 18.04 vs future versions?
As far as I know this is the easiest way to see if a container
finished starting.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1811628/+subscriptions
More information about the foundations-bugs
mailing list