mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
5ede64d63f
With `rprivate` there exists a race where a reference to a mount has
propagated to the new namespace, when `rprivate` is set the parent
namespace is not able to remove the mount due to that reference.
With `rslave` unmounts will propagate correctly into the namespace and
prevent the sort of transient errors that are possible with `rprivate`.
This is a similar fix to
|
||
---|---|---|
.. | ||
archive.go | ||
archive_test.go | ||
archive_unix.go | ||
archive_windows.go | ||
chroot_linux.go | ||
chroot_unix.go | ||
diff.go | ||
diff_unix.go | ||
diff_windows.go | ||
init_unix.go | ||
init_windows.go |