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

generate: Drop devices and mounts #2

Conversation

wking
Copy link
Contributor

@wking wking commented Jan 20, 2016

Cross-posted from mrunalp/ocitools#15.

Most of these are covered by the requirements that landed in
opencontainers/runtime-spec#164, and I don't think the additional mqueue
mount is worth the space between the spec requirements and the
ocitools-generated configs. More details in the commit messages.

There was some discussion in the 2016-01-20 meeting about the
meaning of lists that didn't include default entries, but I think
we're all on the same page that unset values mean “give me the
defaults”. So this should be mergable without waiting for that
discussion to reach consensus.

@mrunalp
Copy link
Contributor

mrunalp commented Feb 8, 2016

This one will be ready to go once we update the spec dependency here as runc is making these changes.

@mrunalp
Copy link
Contributor

mrunalp commented Mar 8, 2016

Could you rebase this PR? Thanks!

Since opencontainers/runtime-spec#164 (part of the v0.1.1 release [1]), Linux
runtimes are required to supply these devices and mounts.  Specifying
them explicitly in the config should have no effect, and just makes
the config longer than it needs to be.

[1]: https://github.com/opencontainers/specs/blob/v0.1.1/config-linux.md#default-devices-and-file-systems

Signed-off-by: W. Trevor King <wking@tremily.us>
@wking wking force-pushed the drop-runtime-supplied-devices-and-mounts branch from 05c3827 to 080ee00 Compare March 8, 2016 04:39
@wking
Copy link
Contributor Author

wking commented Mar 8, 2016

On Mon, Mar 07, 2016 at 04:48:29PM -0800, Mrunal Patel wrote:

Could you rebase this PR?

Rebased with 05c3827080ee00. It looks like the mqueue entry was
removed in 0fbe252 (update generate.go to 0.3.0, 2016-02-23, #20), so
this PR is down to a single commit.

@mrunalp
Copy link
Contributor

mrunalp commented Mar 8, 2016

Thanks. LGTM.

mrunalp pushed a commit that referenced this pull request Mar 8, 2016
@mrunalp mrunalp merged commit 09044d6 into opencontainers:master Mar 8, 2016
@wking wking deleted the drop-runtime-supplied-devices-and-mounts branch April 28, 2016 23:25
fmuyassarov pushed a commit to fmuyassarov/runtime-tools that referenced this pull request May 4, 2023
tap: Teach Header to skip the plan when testCount < 1
fmuyassarov pushed a commit to fmuyassarov/runtime-tools that referenced this pull request May 4, 2023
tap: Teach Header to skip the plan when testCount < 1
fmuyassarov pushed a commit to fmuyassarov/runtime-tools that referenced this pull request May 6, 2023
tap: Teach Header to skip the plan when testCount < 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants