1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

pseudo: Fix problem where pseudo could kill a container init

In a heavily loaded container, the child process might not started
before the parent process had terminated.  The child process attempts to
signal the parent with SIGUSR1.  If the parent had terminated, the
parent becomes PID 1, which is generally init.  When it signaled pid 1,
it caused the docker mini-init to terminate.

This doesn't happen in a traditional system, as systemd/sysvinit is
protected to only root users can signal it.

[YOCTO #10324]

(From OE-Core rev: f6f13b049e8683d2a2af3e120ba979b58f9a7d9a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mark Hatle
2016-09-22 16:37:20 -05:00
committed by Richard Purdie
parent 1d1f94b944
commit 2305c0038d
3 changed files with 50 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
require pseudo.inc
SRCREV = "f4b1c752186f4d08f1fadb0ea10ebcde9b0ea251"
SRCREV = "befc6dbd6469d428c9e0830dbe51bdf7ac39d9ae"
PV = "1.8.1+git${SRCPV}"
DEFAULT_PREFERENCE = "-1"