From 2ba7b991b2bae4148eef977136c57f9da828f9bf Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 18 Jan 2019 17:12:23 +0100 Subject: rootless: fix --pid=host without --privileged When using --pid=host don't try to cover /proc paths, as they are coming from the /proc bind mounted from the host. Signed-off-by: Giuseppe Scrivano --- test/e2e/rootless_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/e2e/rootless_test.go b/test/e2e/rootless_test.go index 8e9f9fc8d..e9606f859 100644 --- a/test/e2e/rootless_test.go +++ b/test/e2e/rootless_test.go @@ -274,6 +274,10 @@ var _ = Describe("Podman rootless", func() { runRootlessHelper([]string{"--net", "host"}) }) + It("podman rootless rootfs --pid host", func() { + runRootlessHelper([]string{"--pid", "host"}) + }) + It("podman rootless rootfs --privileged", func() { runRootlessHelper([]string{"--privileged"}) }) -- cgit v1.2.3-54-g00ecf