diff --git a/pkg/mount/sharedsubtree_linux.go b/pkg/mount/sharedsubtree_linux.go index 538f6637a0..30a3f5b8f0 100644 --- a/pkg/mount/sharedsubtree_linux.go +++ b/pkg/mount/sharedsubtree_linux.go @@ -55,13 +55,10 @@ func ensureMountedAs(mountPoint, options string) error { } if !mounted { - if err := Mount(mountPoint, mountPoint, "none", "bind,rw"); err != nil { + if err := Mount(mountPoint, mountPoint, "none", "bind"); err != nil { return err } } - if _, err = Mounted(mountPoint); err != nil { - return err - } return ForceMount("", mountPoint, "none", options) }