From 6ba3bc7820d83a7addceeaef877bf92a4d9150d1 Mon Sep 17 00:00:00 2001 From: Hemanth Nakkina Date: Fri, 9 Aug 2024 09:02:08 +0530 Subject: [PATCH] [tempest] set user bit on ping utility --- rocks/tempest/rockcraft.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rocks/tempest/rockcraft.yaml b/rocks/tempest/rockcraft.yaml index 69a3069..e249579 100644 --- a/rocks/tempest/rockcraft.yaml +++ b/rocks/tempest/rockcraft.yaml @@ -47,3 +47,9 @@ parts: - cron - python3-venv # this is required for python plugin - iputils-ping + override-prime: | + craftctl default + + # set suid to utilties + # Without this tempest user can execute ping but exits with returncode 2 + chmod u+s $CRAFT_PRIME/bin/ping