aboutgitcodebugslistschat
path: root/test/distro
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-04-06 09:48:40 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-04-07 11:44:35 +0200
commita20d2696306656b31cdccc8aece95367423c623b (patch)
tree489aa2634a4d8c90c3d34993ec47409865a6f4ae /test/distro
parent081f7c8f4c95e33114fba9b63beb79cc21a9a0af (diff)
downloadpasst-a20d2696306656b31cdccc8aece95367423c623b.tar
passt-a20d2696306656b31cdccc8aece95367423c623b.tar.gz
passt-a20d2696306656b31cdccc8aece95367423c623b.tar.bz2
passt-a20d2696306656b31cdccc8aece95367423c623b.tar.lz
passt-a20d2696306656b31cdccc8aece95367423c623b.tar.xz
passt-a20d2696306656b31cdccc8aece95367423c623b.tar.zst
passt-a20d2696306656b31cdccc8aece95367423c623b.zip
test/distro: Set unprivileged_userns_clone on Debian Buster and earlier
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/distro')
-rw-r--r--test/distro/debian4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/distro/debian b/test/distro/debian
index c506bf7..344f453 100644
--- a/test/distro/debian
+++ b/test/distro/debian
@@ -92,6 +92,7 @@ host make clean
hout RET CFLAGS="-Werror" make; echo $?
check [ __RET__ -eq 0 ]
+host sysctl -w kernel.unprivileged_userns_clone=1
distro_quick_pasta_test
hint
@@ -116,6 +117,7 @@ host make clean
hout RET CFLAGS="-Werror" make; echo $?
check [ __RET__ -eq 0 ]
+host sysctl -w kernel.unprivileged_userns_clone=1
distro_quick_pasta_test
hint
@@ -147,6 +149,7 @@ host make clean
hout RET CFLAGS="-Werror" make; echo $?
check [ __RET__ -eq 0 ]
+host sysctl -w kernel.unprivileged_userns_clone=1
distro_quick_pasta_test
hint
@@ -179,6 +182,7 @@ host make clean
hout RET CFLAGS="-Werror" make; echo $?
check [ __RET__ -eq 0 ]
+host sysctl -w kernel.unprivileged_userns_clone=1
distro_quick_pasta_test
hint