How to cleanly reboot core OS when "Failed to talk to init daemon" is seen?

Rajesh picture Rajesh · May 14, 2016 · Viewed 24.4k times · Source

How do I cleanly reboot my coreOS after the following issue shows up?

core@node2 ~ $ sudo reboot
Failed to talk to init daemon
core@node2 ~ $ sudo shutdown -r now
Failed to talk to init daemon.
core@node2 ~ $ sudo systemctl reboot
Failed to get D-Bus connection: Operation not permitted
core@contiv-node2 ~ $ shutdown
Must be root.
core@node2 ~ $ sudo shutdown
Unable to perform operation without bus connection.
core@node2 ~ $ cat /etc/lsb-release 
DISTRIB_ID=CoreOS
DISTRIB_RELEASE=991.2.0
DISTRIB_CODENAME="Coeur Rouge"
DISTRIB_DESCRIPTION="CoreOS 991.2.0 (Coeur Rouge)"

Answer

Christophe Schmitz picture Christophe Schmitz · May 14, 2016
sudo reboot -f

-f, --force Force immediate halt, power-off, reboot. Do not contact the init system.