-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
volumes: allow more options for devpts #12124
volumes: allow more options for devpts #12124
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the indent nit, LGTM
|
||
· mode: permission mask for the file (default 600). | ||
|
||
· max: maximum number of PTYs (default 1048576). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
· max: maximum number of PTYs (default 1048576). | |
· max: maximum number of PTYs (default 1048576). |
c4c1c93
to
c5668e2
Compare
Would this be better to do with the --mount options? Can it already be done with it? |
Never mind, I should read the entire PR before jumping to conclusions. |
LGTM once test works. |
c5668e2
to
d273a44
Compare
looks like runc doesn't honor uid. I'll drop testing uid |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AkihiroSuda, 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 |
Could you open an issue in runc repo? |
d273a44
to
81e4946
Compare
not sure it is an issue, it seems to be done on purpose by |
otherwise passing a formatter string as an option causes a weird error message: $ podman run --mount type=devpts,destination=/dev/pts,%sfoo ... Error: %!s(MISSING)foo: invalid mount option Signed-off-by: Giuseppe Scrivano <[email protected]>
allow to pass down more options that are supported by the kernel. Discussion here: containers/toolbox#568 Signed-off-by: Giuseppe Scrivano <[email protected]>
81e4946
to
4e9e6f2
Compare
/retest |
tests are finally green |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
What this PR does / why we need it:
allow to pass down more options that are supported by the kernel.
Discussion here: containers/toolbox#568
How to verify it
there is a new test
Which issue(s) this PR fixes:
None
Special notes for your reviewer: