From: Mike Frysinger Date: Wed, 10 Sep 2014 19:33:27 +0000 (-0700) Subject: chroot: unshare sysv ipc too X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=be52646b145927502bf6eee539d040c874a9058d;p=home.git chroot: unshare sysv ipc too --- 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