Skip to content

Commit f231492

Browse files
committed
config-linux: RFC 2119 MUST for absolute linux.namespaces[].path
The old language is from 72cbff6 (config-linux.md: clearly require absolute path for namespace, 2017-03-10, #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, #587). Signed-off-by: W. Trevor King <[email protected]>
1 parent a812559 commit f231492

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config-linux.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ The following parameters can be specified to set up namespaces:
3535
* **`user`** the container will be able to remap user and group IDs from the host to local users and groups within the container.
3636
* **`cgroup`** the container will have an isolated view of the cgroup hierarchy.
3737

38-
* **`path`** *(string, OPTIONAL)* - an absolute path to namespace file in the [runtime mount namespace](glossary.md#runtime-namespace).
38+
* **`path`** *(string, OPTIONAL)* - namespace file.
39+
This value MUST be an absolute path in the [runtime mount namespace](glossary.md#runtime-namespace).
3940
The runtime MUST place the container process in the namespace associated with that `path`.
4041
The runtime MUST [generate an error](runtime.md#errors) if `path` is not associated with a namespace of type `type`.
4142

0 commit comments

Comments
 (0)