Commit 3aa9eb8
committed
runtime-linux: Condition /proc/self/fd symlinks on source existence
Since 279c3c0 (linux: relax filesystem requirements for container,
2017-01-23, opencontainers#666) it's no longer guaranteed that /proc will exist.
And there doesn't seem to be much point in requiring symlinks which
will be known broken.
This commit also tightens the timing. Before it was just "after the
container has `/proc` mounted", which could have happened during the
'delete' operation (if the container authors wanted to be especially
ornery). With this commit, I've put the creation in step 2 of the
lifecycle. And within step 2, it happens after 'mounts' has been
processed.
Signed-off-by: W. Trevor King <wking@tremily.us>1 parent 4badf7f commit 3aa9eb8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments