Mailinglist Archive: opensuse-factory (564 mails)

< Previous Next >
Re: [opensuse-factory] [RFC DRAFT] Phasing out sysvinit
On 26/12/11 13:33, Claudio Freire wrote:
On Mon, Dec 26, 2011 at 1:04 PM, Cristian Rodríguez
<crrodriguez@xxxxxxxxxxxx> wrote:
Suppose something's wrong and ExecStop (which will try a graceful shut
down of the VMs)

doesn't work. Then you have to forcibly stop the VMs.

How would systemd do it?

It will send SIGKILL to the process mentioned in ExecStart

Which no longer exists, because it was a TSR that just started the VM
with some command to the kernel.
IE: totally wrong action to take.

there is a

SendSIGKILL boolean to avoid that

KillSignal to select what signal to use

KillMode to select how the process should be killed

if there is no process running and no Execstop script that can tell if it is running or not, then there is problem somewhere else.

It needs to be that way, it is a true dichotomy.

- It is either running or not
- It is either loaded or it failed to.

No half loaded or half running.

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread