Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2-rhel] libpod: fix volume copyup with idmap | convert owner IDs only with :idmap #24591

Open
wants to merge 3 commits into
base: v5.2-rhel
Choose a base branch
from

Commits on Nov 18, 2024

  1. libpod: fix volume copyup with idmap

    if idmap is specified for a volume, reverse the mappings when copying
    up from the container, so that the original permissions are maintained.
    
    Closes: containers#23467
    
    Signed-off-by: Giuseppe Scrivano <[email protected]>
    (cherry picked from commit 3ae1568)
    giuseppe committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    b7c7726 View commit details
    Browse the repository at this point in the history
  2. CI: enable root user namespaces

    Signed-off-by: Ed Santiago <[email protected]>
    (cherry picked from commit 7bb3b83)
    edsantiago authored and giuseppe committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    6057aef View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. libpod: convert owner IDs only with :idmap

    convert the owner UID and GID into the user namespace only when
    ":idmap" mount is used.
    
    This changes the behaviour of :idmap with an empty volume.  Now the
    existing directory ownership is copied up as in the other case.
    
    Closes: containers#23347
    Closes: https://issues.redhat.com/browse/RHEL-67842
    
    Signed-off-by: Giuseppe Scrivano <[email protected]>
    (cherry picked from commit 4323252)
    Signed-off-by: Giuseppe Scrivano <[email protected]>
    giuseppe committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    d3fbb51 View commit details
    Browse the repository at this point in the history