Red Hat Bugzilla – Bug 601607
shutdown doesn't work in rescue mode
Last modified: 2010-06-18 06:13:14 EDT
+++ This bug was initially created as a clone of Bug #594034 +++
--- Additional comment from firstname.lastname@example.org on 2010-05-31 15:11:16 EEST ---
With anaconda-13.21.48 there's no error message about the missing shared library. However the system will not shutdown:
In the rescue shell type: shutdown -h now - nothing happens.
The shutdown binary is not part of the install/rescue environment, but it was found on the rescued system (/mnt/sysimage/sbin/shutdown). It can't work since you are not running regular init, but only stripped rescue one.
Use poweroff, reboot or halt to stop the rescue system.
poweroff and halt will not work as well if executed while inside the chroot.
No they won't. And never will. At least until we change the init system.
Again.. we do not have any runlevels in rescue, no init socket and we do not accept commands from telinit, so you have to use rescue tools which use proper signaling for rescue mode.
Use poweroff or halt from the rescue environment. It has preference in PATH so you are using rescue stuff over the installed stuff (which is not guaranteed to work at all. And broken system is the reason to run rescue, isn't it).