[Rpm-maint] [rpm-software-management/rpm] Disable private mounts in chroot'ed operation in the unshare plugin (PR #3228)

Panu Matilainen notifications at github.com
Thu Aug 1 11:04:40 UTC 2024


mount("/", "/", NULL, MS_REC | MS_PRIVATE, NULL) inside a chroot fails with EINVAL. Maybe there's some magic ritual that makes it possible, but until somebody figures it out, just disable the private mounts inside a chroot.

Fixes: #3187
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3228

-- Commit Summary --

  * Disable private mounts in chroot'ed operation in the unshare plugin

-- File Changes --

    M plugins/unshare.c (12)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3228.patch
https://github.com/rpm-software-management/rpm/pull/3228.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3228
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3228 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240801/7363164d/attachment.html>


More information about the Rpm-maint mailing list