This repository was archived by the owner on Apr 21, 2021. It is now read-only.
Commit f81df27
committed
[WIP] validation: LinuxUIDMapping: fix tests
Don't validate uid mappings and gid mappings separately: containers with
only user mappings or with only group mappings are not usable.
Additionnally, don't rely on the runtime to create the directories to be
mounted. runc mounts them in the easy cases but it does not work with
user namespaces.
Marking as WIP because this is in discussion in opencontainers/runtime-spec#955
Signed-off-by: Alban Crequy <alban@kinvolk.io>1 parent fdbc3d6 commit f81df27
2 files changed
Lines changed: 26 additions & 17 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
7 | 24 | | |
8 | 25 | | |
9 | 26 | | |
10 | | - | |
11 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
12 | 36 | | |
13 | 37 | | |
14 | 38 | | |
| |||
0 commit comments