Ubuntu 18.04 systemctl is-system-running always shows degraded in LXD containers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
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-
● systemd-
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: ConditionVirtua
As far as I know this is the easiest way to see if a container finished starting.
Status changed to 'Confirmed' because the bug affects multiple users.