From 07e0cf1855a6903a59fe4db1dea8bca0e3d8d57d Mon Sep 17 00:00:00 2001 From: Fupan Li Date: Sun, 3 Mar 2024 20:53:36 +0800 Subject: [PATCH] CI: fix the issue of ci failure on crio PR #8760 tentatively tried to have the shim to run in its own mount namespace for the sake of improving isolation between the sandbox and the host. Thus crio storage drivers shouldn't create a PRIVATE bind mount on their home directory. Otherwise, the container's rootfs mount wouldn't be propagated to kata runtime's mount namespace, and kata runtime couldn't access the container's rootfs files. So, when kata cooperated with crio, crio should set skip_mount_home=true for its storage overlay. Fixes: #9028 Signed-off-by: Fupan Li --- tests/common.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/common.bash b/tests/common.bash index 0bdef45cd7..cd969afc2c 100644 --- a/tests/common.bash +++ b/tests/common.bash @@ -620,6 +620,10 @@ function install_crio() { # See: https://github.com/kata-containers/kata-containers/issues/8034 sudo mkdir -p /etc/crio/crio.conf.d/ cat <