From 5b96dd5f7004a3d2b66ea13e41a77c2e3ab3331f Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Tue, 25 Feb 2020 15:21:31 +0100 Subject: [PATCH] ci: Don't give special capabilities to Rust vhost-user-fs backend There is no reason to give some special capabilities to the Rust version of virtiofsd since it behaves slightly differently and does not require neither DAC_OVERRIDE nor SYS_ADMIN. Signed-off-by: Sebastien Boeuf --- scripts/run_integration_tests.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/run_integration_tests.sh b/scripts/run_integration_tests.sh index f5d7d8154..f54ffbf00 100755 --- a/scripts/run_integration_tests.sh +++ b/scripts/run_integration_tests.sh @@ -158,7 +158,6 @@ sudo ip link set vfio-tap2 up cargo build --release sudo setcap cap_net_admin+ep target/release/cloud-hypervisor sudo setcap cap_net_admin+ep target/release/vhost_user_net -sudo setcap cap_dac_override,cap_sys_admin+epi target/release/vhost_user_fs # We always copy a fresh version of our binary for our L2 guest. cp target/release/cloud-hypervisor $VFIO_DIR