aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2022-08-24 17:39:15 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2022-08-24 17:39:15 +0200
commitea67d84f5a18941671b61415927954e52efd0300 (patch)
tree7f3a537e12dfc4fa53fd10b6ee05ae55df83ca48
parent34d516840df73787d2359037e4a2ab51849e59eb (diff)
downloadpodman-ea67d84f5a18941671b61415927954e52efd0300.tar.gz
podman-ea67d84f5a18941671b61415927954e52efd0300.tar.bz2
podman-ea67d84f5a18941671b61415927954e52efd0300.zip
test: fix comment
it is not a kernel bug. Rootless users are not allowed to use non recursive bind mounts, otherwise they would be able to uncover mounts that were not visible before to them. [CI:DOCS] it is just a comment fix. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--test/e2e/run_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index c7a0b3f2b..b2840d544 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -1235,8 +1235,7 @@ USER mail`, BB)
})
It("podman run --mount type=bind,bind-nonrecursive", func() {
- // crun: mount `/` to `/host`: Invalid argument
- SkipIfRootless("FIXME: rootless users are not allowed to mount bind-nonrecursive (Could this be a Kernel bug?")
+ SkipIfRootless("FIXME: rootless users are not allowed to mount bind-nonrecursive")
session := podmanTest.Podman([]string{"run", "--mount", "type=bind,bind-nonrecursive,slave,src=/,target=/host", fedoraMinimal, "findmnt", "-nR", "/host"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))