-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
podman: fix ro bind mounts if no* opts are on the source #2432
podman: fix ro bind mounts if no* opts are on the source #2432
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
71966df
to
427476f
Compare
LGTM: this resolves the issue on my f29 system. Thank you! |
427476f
to
bfde90a
Compare
/lgtm |
This is a workaround for the runc issue: opencontainers/runc#1247 If the source of a bind mount has any of nosuid, noexec or nodev, be sure to propagate them to the bind mount so that when runc tries to remount using MS_RDONLY, these options are also used. Closes: containers#2312 Signed-off-by: Giuseppe Scrivano <[email protected]>
bfde90a
to
0f5ae3c
Compare
/lgtm |
Tested new changeset; works as expected. |
podman: fix ro bind mounts if no* opts are on the source
This is a workaround for the runc issue:
opencontainers/runc#1247
If the source of a bind mount has any of nosuid, noexec or nodev, be
sure to propagate them to the bind mount so that when runc tries to
remount using MS_RDONLY, these options are also used.
Closes: #2312
Signed-off-by: Giuseppe Scrivano [email protected]