From fc20fb8a2cb097bd0260e52e77310fa0cdba76bf Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 14 Jul 2017 15:01:54 +0100 Subject: [PATCH] pkg/init: Do not run inits in the background We want them to run in sequence. For example we want mounts to be done (done by `pkg/runc/etc/init.d/010-onboot`) before we start services (done by `pkg/containerd/etc/init.d/020-containerd`). This was most likely introduced by 28b4245b122a ("Move onboot startup script to runc package"). None of the initscripts in pkg/* block, but some in projects (selinux and logging, not updated here) do. Signed-off-by: Ian Campbell --- pkg/init/bin/rc.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/init/bin/rc.init b/pkg/init/bin/rc.init index d37bacf83..54111f57b 100755 --- a/pkg/init/bin/rc.init +++ b/pkg/init/bin/rc.init @@ -122,5 +122,5 @@ ulimit -p unlimited INITS="$(find /etc/init.d -type f | sort)" for f in $INITS do - $f & + $f done