mirror of
https://github.com/containers/podman.git
synced 2025-09-28 01:04:28 +08:00
Bump to containers/buildah 1.9.2
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
7
vendor/github.com/containers/buildah/chroot/run.go
generated
vendored
7
vendor/github.com/containers/buildah/chroot/run.go
generated
vendored
@ -1107,7 +1107,12 @@ func setupChrootBindMounts(spec *specs.Spec, bundlePath string) (undoBinds func(
|
||||
}
|
||||
subSys := filepath.Join(spec.Root.Path, m.Mountpoint)
|
||||
if err := unix.Mount(m.Mountpoint, subSys, "bind", sysFlags, ""); err != nil {
|
||||
logrus.Warningf("could not bind mount %q, skipping: %v", m.Mountpoint, err)
|
||||
msg := fmt.Sprintf("could not bind mount %q, skipping: %v", m.Mountpoint, err)
|
||||
if strings.HasPrefix(m.Mountpoint, "/sys") {
|
||||
logrus.Infof(msg)
|
||||
} else {
|
||||
logrus.Warningf(msg)
|
||||
}
|
||||
continue
|
||||
}
|
||||
if err := makeReadOnly(subSys, sysFlags); err != nil {
|
||||
|
Reference in New Issue
Block a user