From be52646b145927502bf6eee539d040c874a9058d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 10 Sep 2014 12:33:27 -0700 Subject: [PATCH] chroot: unshare sysv ipc too --- .bin/custom-chroot | 1 + 1 file changed, 1 insertion(+) diff --git a/.bin/custom-chroot b/.bin/custom-chroot index 8a3fc61..4a5045d 100755 --- a/.bin/custom-chroot +++ b/.bin/custom-chroot @@ -8,6 +8,7 @@ bootstrap() { if type -P unshare >&/dev/null ; then uargs=( -m ) unshare -u -- true >&/dev/null && uargs+=( -u ) + unshare -i -- true >&/dev/null && uargs+=( -i ) unshare -p -- true >&/dev/null && uargs+=( -p -f --mount-proc ) UNSHARE=true exec unshare "${uargs[@]}" -- "$0" "$@" fi -- 2.39.5