nsenter: Do not enter user namespace
All checks were successful
ContainerImages/cfg/pipeline/head This commit looks good
All checks were successful
ContainerImages/cfg/pipeline/head This commit looks good
Running `nsenter` with `-U` fails: ``` nsenter: setns(): can't reassociate to namespace 'user': Invalid argument ``` This is probably because the container runs in the same user namespace as the host anyway, so it really doesn't matter.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec nsenter -m -u -i -n -p -U -t 1 "${0##*/}" "$@"
|
||||
exec nsenter -m -u -i -n -p -t 1 "${0##*/}" "$@"
|
||||
|
||||
Reference in New Issue
Block a user