Skip to content

Conversation

@RobDolinMS
Copy link
Collaborator

Replaces "required" (lower case) with "necessary" since this instance does not seem to be intended as "REQUIRED"

Signed-off-by: Rob Dolin robdolin@microsoft.com

Replaces "required" (lower case) with "necessary" since this instance does not seem to be intended as "REQUIRED"

Signed-off-by: Rob Dolin <robdolin@microsoft.com>

A runtime MUST at least use the minimum set of cgroup controllers required to fulfill the `resources` settings.
A runtime MUST at least use the minimum set of cgroup controllers necessary to fulfill the `resources` settings.
However, a runtime MAY attach the container process to additional cgroup controllers supported by the system.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we even want to keep the line you're bumping? It sounds like any runtime which violated that constraint would necessarily violate some more specific constraint on a resources setting. Maybe replace this paragraph with:

Runtimes MAY attach the container process to additional cgroup controllers beyond those required to fulfill the resources settings.

@tianon
Copy link
Member

tianon commented May 10, 2017

LGTM

Suffers from a Travis failure: (might need a rebase and/or DCO munging?)

$ TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" make .gitvalidation
git-validation -v -run DCO,short-subject,dangling-whitespace -range 78e6667ae2d67aad100b28ee9580b41b7a24e667..HEAD
2017/03/15 22:55:26 exit status 128
make: *** [.gitvalidation] Error 1
The command "TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" make .gitvalidation" exited with 2.

Seems to me that regardless of whether we keep the line, avoiding the word REQUIRED where it isn't intended to be a strict validation-related usage is a sane thing to do.

Approved with PullApprove

wking added a commit to wking/opencontainer-runtime-spec that referenced this pull request May 10, 2017
Any runtime which violated that constraint would necessarily violate
some more specific constraint on a 'resources' setting.

This also removes a non-spec-requirement "required" to avoid any
confusion with the spec-requirement REQUIRED [1].

[1]: opencontainers#729 (comment)

Signed-off-by: W. Trevor King <wking@tremily.us>
@wking
Copy link
Contributor

wking commented May 10, 2017 via email

@tianon
Copy link
Member

tianon commented May 10, 2017

Given #800, my preference is to close this and merge that one instead (since IMO it makes the intent of this bit more clear).

@wking
Copy link
Contributor

wking commented May 10, 2017

Obsolete with #800 landed?

@tianon
Copy link
Member

tianon commented May 10, 2017

Yeah, thanks @wking (and @RobDolinMS)

@tianon tianon closed this May 10, 2017
@tianon tianon deleted the RobDolinMS-remove-required branch May 10, 2017 20:58
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.

4 participants