mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
Update vendored c/buildah to 32d78c69be17
Signed-off-by: David Negstad <David.Negstad@microsoft.com>
This commit is contained in:
2
vendor/github.com/containers/buildah/chroot/run_linux.go
generated
vendored
2
vendor/github.com/containers/buildah/chroot/run_linux.go
generated
vendored
@@ -263,7 +263,7 @@ func createPlatformContainer(options runUsingChrootExecSubprocOptions) error {
|
||||
return fmt.Errorf("changing to host root directory: %w", err)
|
||||
}
|
||||
// make sure we only unmount things under this tree
|
||||
if err := unix.Mount(".", ".", "bind", unix.MS_REMOUNT|unix.MS_BIND|unix.MS_SLAVE|unix.MS_REC, ""); err != nil {
|
||||
if err := unix.Mount(".", ".", "", unix.MS_SLAVE|unix.MS_REC, ""); err != nil {
|
||||
return fmt.Errorf("tweaking mount flags on host root directory before unmounting from mount namespace: %w", err)
|
||||
}
|
||||
// detach this (unnamed?) old directory
|
||||
|
||||
Reference in New Issue
Block a user