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)"
sudo reboot -f
-f, --force Force immediate halt, power-off, reboot. Do not contact the init system.
kill -15 1
That should wake up the init daemon and then you should be able to reboot as normal. (i.e. sudo kill -15 1; sudo reboot
)
If possible, this is a better solution than reboot -f as you will be able to perform a clean reboot.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With