Khalid Aziz wrote, on 28/07/11 02:16:
"kexec -e" does not end up calling the shutdown program, instead
shutdown routine in the kernel is called directly. So there are no
options being passed to shutdown(8).

I assume this bug is resolved at this point. Please confirm. I will mark
this bug resolved in three days if I do not hear back.

Thanks

Hi, I re-read the manual page for kexec from:

kexec-tools                                          1:2.0.2-1

OPTIONS
       -e (--exec)
Run the currently loaded kernel. Note that it calls shutdown (8)

and then the manual page for shutdown (8):

DESCRIPTION
shutdown brings the system down in a secure way. All logged-in users are notified that the system is going down, and login(1) is blocked.


I logged in remotely to this pc, became root then ran:

/etc/init.d/kexec-load stop

to load a kernel, then

kexec -e

I was not given the normal shutdown warning message and the pc rebooted immediately.

It appears that the manual page for kexec is incorrect about the behaviour of "kexec -e".

Regards,

Arthur.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to