diff --git a/mock/py/mock.py b/mock/py/mock.py index ecf7a75eb..251a080b7 100755 --- a/mock/py/mock.py +++ b/mock/py/mock.py @@ -747,15 +747,15 @@ def main(): # add the extra bind mount to the outer chroot inner_mount = bootstrap_buildroot.make_chroot_path(buildroot.make_chroot_path()) - # Hide re-mounted chroot from host by rprivate tmpfs. + # Hide re-mounted chroot from host by private tmpfs. buildroot.mounts.managed_mounts.append( FileSystemMountPoint(filetype='tmpfs', device='hide_root_in_bootstrap', path=inner_mount, - options="rprivate")) + options="private")) buildroot.mounts.managed_mounts.append( BindMountPoint(buildroot.make_chroot_path(), inner_mount, - recursive=True, options="rprivate")) + recursive=True, options="private")) signal.signal(signal.SIGTERM, partial(handle_signals, buildroot)) signal.signal(signal.SIGPIPE, partial(handle_signals, buildroot))