Re: [PATCH 0/2] Send a SIGCHLD to the init's pid namespace parentwhen reboot

From: Oleg Nesterov
Date: Sun Aug 14 2011 - 12:21:08 EST


On 08/11, Daniel Lezcano wrote:
>
> In the case of a VPS, when we shutdown/halt/reboot the container, the
> reboot utility will invoke the sys_reboot syscall which has the bad
> effect to reboot the host.

Stupid question. Can't sys_reboot() simply kill init (and thus the whole
pid_ns) in this case?

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/