Browse code

rootless: launch rootlesskit with --propagation=rslave

The propagation was previously set to rprivate and didn't propagate
mounts from the host mount namespace into the daemon's mount namespace.

Further information about --propagation: https://github.com/rootless-containers/rootlesskit/tree/v0.9.1#mount-propagation
RootlessKit changes: https://github.com/rootless-containers/rootlesskit/compare/v0.8.0...v0.9.1

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>

Akihiro Suda authored on 2020/03/06 23:22:41
Showing 2 changed files
... ...
@@ -82,6 +82,7 @@ if [ -z $_DOCKERD_ROOTLESS_CHILD ]; then
82 82
 		--slirp4netns-seccomp=$DOCKERD_ROOTLESS_ROOTLESSKIT_SLIRP4NETNS_SECCOMP \
83 83
 		--disable-host-loopback --port-driver=builtin \
84 84
 		--copy-up=/etc --copy-up=/run \
85
+		--propagation=rslave \
85 86
 		$DOCKERD_ROOTLESS_ROOTLESSKIT_FLAGS \
86 87
 		$0 $@
87 88
 else
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 
3
-# v0.8.0
4
-: ${ROOTLESSKIT_COMMIT:=ce88a431e6a7cf891ebb68b10bfc6a5724b9ae72}
3
+# v0.9.1
4
+: ${ROOTLESSKIT_COMMIT:=db9657404cd538820e9e83d90dab2a78d8b833e6}
5 5
 
6 6
 install_rootlesskit() {
7 7
 	case "$1" in