Failed to talk to init daemon

Hello,

The Centos 7 container does the following,

$ lxc launch images:centos/7 simulation3 -s vms
Creating simulation3
Starting simulation3                             
$ lxc exec simulation3 bash
# poweroff 
Failed to talk to init daemon.

Any way to fix this?

Is this an error you saw?

This looks like its coming from inside the container, have you checked the init system had finished starting up the container (and wasn’t hanging on network setup for example)?

How do i check this?

Even systemctl doesnt work,

# systemctl status systemd-networkd
Failed to get D-Bus connection: No such file or directory