#986638 lxc: CentOS 7 Container can't be started properly

Package:
lxc
Source:
lxc
Description:
Linux Containers userspace tools
Submitter:
Michael Becker
Date:
2021-04-26 11:39:04 UTC
Severity:
normal
Tags:
#986638#5
Date:
2021-04-08 15:12:56 UTC
From:
To:
Dear Maintainer,

I made a fresh install of lxc (aptitude install lxc) followed by:

lxc-create -P /home/lxc -t download -n centos -- -d centos -r 7 -a amd64
lxc-start -dn centos

No error was reported.

lxc-attach -n centos
followed by "ps axuw" within the container showed that only /sbin/init was running.
systemd, dbus, network ... have not been started

Running "poweroff" within the container results in the error:
Failed to talk to init daemon.

Creating the container using the centos template results in the same problem.

Installing release 8 works fine – but that does not help me.

Regards: Michael

#986638#10
Date:
2021-04-26 11:36:00 UTC
From:
To:
after having had the problem for a few days now, it seems to have disappeared into thin air now that I have reported the bug
#986638#15
Date:
2021-04-26 11:37:15 UTC
From:
To:
sorry wrong bug – please let this one open ...


Am 26.04.21 um 13:36 schrieb Michael Becker: