plugins/pkg
Giuseppe Scrivano 85083ea434
testutils: newNS() works in a rootless user namespace
When running in a user namespace created by an unprivileged user the
owner of /var/run will be reported as the unknown user (as defined in
/proc/sys/kernel/overflowuid) so any access to the directory will
fail.

If the XDG_RUNTIME_DIR environment variable is set, check whether the
current user is also the owner of /var/run.  If the owner is different
than the current user, use the $XDG_RUNTIME_DIR/netns directory.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-10-19 12:04:53 +02:00
..
hns [Windows] Adds optional loopbackDSR argument to cni config. 2019-07-31 15:45:54 -07:00
ip pkg/ip unit test: be agnostic of Linux version 2019-07-09 16:58:57 -07:00
ipam pkg/ipam : use delegateArgs instead of env set/unset in ipam.ExecDel 2019-06-18 21:02:01 +08:00
ns Fix some spelling errors 2018-12-29 21:26:28 +08:00
testutils testutils: newNS() works in a rootless user namespace 2019-10-19 12:04:53 +02:00
utils pkg/meta/bandwidth: increase IfbDeviceName size 2019-07-18 11:45:38 -07:00