On Tue, Apr 23, 2013 at 8:58 AM, Michal Skrivanek wrote:
>>
>
> do we allow users to cancel the shutdown?
nope.
It can be stopped inside the guest, well, if you manage to do that in that short time.
BTW: I tried today with ovirt 3.2.1 and it is not possible to
interrupt shutdown, at least with "shutdown -c" command
With agent inside a CentOS 6.4 VM the comamnd run is:
[root@c2 ~]# ps -ef|grep shut
root 15767 1581 0 23:39 ? 00:00:00 rhev-shutdown -h +1
"System Administrator has initiated shutdown of this Virtual Machine.
Virtual Machine is shutting down."
root 15768 15767 0 23:39 ? 00:00:00 [shutdown] <defunct>
root 15799 15781 0 23:40 pts/0 00:00:00 grep shut
If you try to cancel it with
shutdown -c
you get
shutdown: Cannot find pid of running shutdown
I don't know if Michal meant instead to kill the pid processes
themselves (15767 and and 15768 in my case)....
Gianluca