scripts: join pid namespace in systemd-autofs-restart.sh

Submitted by Stanislav Kinsburskiy on April 21, 2016, 4:54 p.m.

Details

Message ID 20160421165433.29012.67727.stgit@skinsbursky-vz7.qa.sw.ru
State Accepted
Series "scripts: join pid namespace in systemd-autofs-restart.sh"
Commit 597814e8d11782e5e630b8aeee2f2ef280b7fff6
Headers show

Patch hide | download patch | download mbox

diff --git a/scripts/systemd-autofs-restart.sh b/scripts/systemd-autofs-restart.sh
index 205a96b..9d9e2f3 100755
--- a/scripts/systemd-autofs-restart.sh
+++ b/scripts/systemd-autofs-restart.sh
@@ -34,7 +34,7 @@  if [ ! -x $NS_ENTER ]; then
 	exit 2
 fi
 
-JOIN_CT="$NS_ENTER -t $CRTOOLS_INIT_PID -m -u"
+JOIN_CT="$NS_ENTER -t $CRTOOLS_INIT_PID -m -u -p"
 
 # Skip container, if it's not systemd based
 [ $($JOIN_CT basename -- $(readlink /proc/1/exe)) == "systemd" ] || exit 0

Comments

Pavel Emelianov April 22, 2016, 1:39 p.m.
Applied