summaryrefslogtreecommitdiff
path: root/libpod/runtime_pod_infra_linux.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-08-30 18:26:41 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-09-04 14:36:57 +0000
commit14c0f9d63c1f9ab6b4f09a827a061dfeb7f4eb79 (patch)
treefd2c4d72e9fe57fec8cc826522d077833637e5d8 /libpod/runtime_pod_infra_linux.go
parentdaa28349c8cfadc53de96a851b7d1d71de7b14e9 (diff)
downloadpodman-14c0f9d63c1f9ab6b4f09a827a061dfeb7f4eb79.tar.gz
podman-14c0f9d63c1f9ab6b4f09a827a061dfeb7f4eb79.tar.bz2
podman-14c0f9d63c1f9ab6b4f09a827a061dfeb7f4eb79.zip
rootless: be in an userns to initialize the runtime
be sure to be in an userns for a rootless process before initializing the runtime. In case we are not running as uid==0, take advantage of "podman info" that creates the runtime. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1372 Approved by: mheon
Diffstat (limited to 'libpod/runtime_pod_infra_linux.go')
0 files changed, 0 insertions, 0 deletions