From 176404f5e23d4b5a432a7813bec7823a3f2c7185 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 10 Jul 2021 23:16:21 -0500 Subject: Work around a util-linux that can hang the tests. If CONFIG_USER_NS or CONFIG_PID_NS are not set in the kernel, the tests will hang forever. To work around the problem, delete one test. --- chapter08/util-linux.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'chapter08') diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml index b1df6ea6d..8f72a80d7 100644 --- a/chapter08/util-linux.xml +++ b/chapter08/util-linux.xml @@ -95,6 +95,13 @@ bash tests/run.sh --srcdir=$PWD --builddir=$PWD + There is one test that depends on the configuration of the kernel. + If CONFIG_USER_NS or CONFIG_PID_NS are not set, the tests will hang forever. + To work around the problem, delete one test: + + rm tests/ts/lsns/ioctl_ns + + chown -Rv tester . su tester -c "make -k check" -- cgit v1.2.3-54-g00ecf