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

config-linux: RFC 2119 MUST for absolute linux.namespaces[].path #925

Merged

Conversation

wking
Copy link
Contributor

@wking wking commented Sep 28, 2017

The old language is from 72cbff6 (#720), but without RFC 2119 language in the absolute path wording, it's not a compliance requirement (per spec.md's “compliant” definition). This commit adjusts the language to bring it in line with our current wording for maskedPaths and readonlyPaths, which we've had since 25f44dd (#587).

This is technically a breaking change, because a config with a relative namespace path would have been compliant before, but will be non compliant with this PR. However, I think the previous “an absolute path to namespace file” wording is clear enough that config authors are unlikely to be relying on relative namespace paths in configs. If we are comfortable enough with that assumption (I am, but I'm not a maintainer), we can push this out as a patch-level change without fear of breaking config authors. If we aren't comfortable with that assumption, we'll want to queue this change up for 2.0.

The old language is from 72cbff6 (config-linux.md: clearly require
absolute path for namespace, 2017-03-10, opencontainers#720), but without RFC 2119
language in the absolute path wording, it's not a compliance
requirement (per spec.md's "compliant" definition).  This commit
adjusts the language to bring it in line with our current wording for
maskedPaths and readonlyPaths, which we've had since 25f44dd (
config-linux: fix format and definitely require value of masked and
readonly paths, 2016-09-30, opencontainers#587).

Signed-off-by: W. Trevor King <[email protected]>
@hqhq
Copy link
Contributor

hqhq commented Oct 9, 2017

LGTM

Approved with PullApprove

1 similar comment
@crosbymichael
Copy link
Member

crosbymichael commented Oct 9, 2017

LGTM

Approved with PullApprove

@crosbymichael crosbymichael merged commit 4ebb31e into opencontainers:master Oct 9, 2017
@wking wking deleted the absolute-namespace-path-must branch October 24, 2017 19:50
@vbatts vbatts mentioned this pull request Oct 30, 2017
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.

3 participants