summaryrefslogtreecommitdiff
path: root/vendor/go.uber.org/atomic/.codecov.yml
diff options
context:
space:
mode:
authorDebarshi Ray <rishi@fedoraproject.org>2020-11-03 00:50:41 +0100
committerDebarshi Ray <rishi@fedoraproject.org>2020-11-03 01:56:16 +0100
commitb00a195ba2d33972051ec5445331c251ca44c0b0 (patch)
treeced8b4822e4eb2dda867f7afac1e2f983c30ebed /vendor/go.uber.org/atomic/.codecov.yml
parent7375a55757fe7615f133db5b097bb4db9a244888 (diff)
downloadpodman-b00a195ba2d33972051ec5445331c251ca44c0b0.tar.gz
podman-b00a195ba2d33972051ec5445331c251ca44c0b0.tar.bz2
podman-b00a195ba2d33972051ec5445331c251ca44c0b0.zip
Test $HOME when it's parent is bind mounted with --userns=keep-id
When --userns=keep-id is used, Podman is supposed to set up the home directory of the user inside the container to match that on the host as long as the home directory or any of its parents are marked as volumes to be bind mounted into the container. Currently, the test only considers the case where the home directory itself is bind mounted into the container. It doesn't cover the Podman code that walks through all the bind mounts looking for ancestors in case the home directory itself wasn't specified as a bind mount. Therefore, this improves the existing test added in commit 6ca8067956128585 ("Setup HOME environment when using --userns=keep-id") Note that this test can't be run as root. The home directory of the root user is /root, and it's parent is /. Bind mounting the entire / from the host into the container prevents it from starting: Error: openat2 ``: No such file or directory: OCI not found Signed-off-by: Debarshi Ray <rishi@fedoraproject.org>
Diffstat (limited to 'vendor/go.uber.org/atomic/.codecov.yml')
0 files changed, 0 insertions, 0 deletions