Skip to content

[Carry 98] support --propagation=(rprivate|rslave)#109

Merged
AkihiroSuda merged 3 commits intorootless-containers:masterfrom
AkihiroSuda:carry-98
Feb 25, 2020
Merged

[Carry 98] support --propagation=(rprivate|rslave)#109
AkihiroSuda merged 3 commits intorootless-containers:masterfrom
AkihiroSuda:carry-98

Conversation

@AkihiroSuda
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda commented Feb 25, 2020

The default propagation is still rprivate.

--propagation=rslave is useful to propagate mounts from the host mount namespace.

--propagation=rshared doesn't work with --copy-up and isn't useful.

Fix #97
Carry #98

Signed-off-by: Boris Popovschi <[email protected]>
Signed-off-by: Boris Popovschi <[email protected]>
@AkihiroSuda AkihiroSuda changed the title [WIP] [Carry 98] support --propagation=(rshared|rslave) [Carry 98] support --propagation=(rshared|rslave) Feb 25, 2020
@AkihiroSuda AkihiroSuda force-pushed the carry-98 branch 2 times, most recently from 6252784 to c2a9755 Compare February 25, 2020 14:58
Comment thread hack/test/integration.sh Outdated

test_propagation private
test_propagation rprivate
test_propagation slave
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fails inside container, but succeeds on host

@AkihiroSuda AkihiroSuda merged commit 3a0cb9b into rootless-containers:master Feb 25, 2020
@AkihiroSuda AkihiroSuda changed the title [Carry 98] support --propagation=(rshared|rslave) [Carry 98] support --propagation=(rprivate|rslave) Mar 3, 2020
This was referenced Mar 3, 2020
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.

support specifying mount propagation

2 participants