summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/pseudo/pseudo_1.8.1.bb
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2016-09-22 16:37:20 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-23 18:06:10 +0100
commitf6f13b049e8683d2a2af3e120ba979b58f9a7d9a (patch)
treee801d0c5c48a114af10b13d6787980b18e2ddf36 /meta/recipes-devtools/pseudo/pseudo_1.8.1.bb
parent3b6494fad2b8b65e0d52cda0cdf500e93c72823a (diff)
downloadopenembedded-core-contrib-f6f13b049e8683d2a2af3e120ba979b58f9a7d9a.tar.gz
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] Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pseudo/pseudo_1.8.1.bb')
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_1.8.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.8.1.bb b/meta/recipes-devtools/pseudo/pseudo_1.8.1.bb
index f45912a711..cec214986e 100644
--- a/meta/recipes-devtools/pseudo/pseudo_1.8.1.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_1.8.1.bb
@@ -6,6 +6,7 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/pseudo/${BPN}-${PV}.tar.bz
file://fallback-group \
file://moreretries.patch \
file://Fix-xattr-performance.patch \
+ file://0001-Don-t-send-SIGUSR1-to-init.patch \
"
SRC_URI[md5sum] = "ee38e4fb62ff88ad067b1a5a3825bac7"