volumes: allow more options for devpts - #12124
Conversation
vrothberg
left a comment
There was a problem hiding this comment.
Other than the indent nit, LGTM
There was a problem hiding this comment.
| · 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 DetailsNeeds 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 <gscrivan@redhat.com>
allow to pass down more options that are supported by the kernel. Discussion here: containers/toolbox#568 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
81e4946 to
4e9e6f2
Compare
|
/retest |
|
tests are finally green |
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: