aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2021-07-10 23:16:21 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2021-07-10 23:16:21 -0500
commit176404f5e23d4b5a432a7813bec7823a3f2c7185 (patch)
treed57ea586bde7cf109e961c4c6959910abf5d620a
parentc519d4560a93fbcb5ad346d159d914b64412f275 (diff)
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.
-rw-r--r--chapter08/util-linux.xml7
1 files changed, 7 insertions, 0 deletions
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 @@
<screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
</warning>
+ <note><para>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:</para>
+
+ <screen><userinput remap="test">rm tests/ts/lsns/ioctl_ns</userinput></screen>
+ </note>
+
<screen><userinput remap="test">chown -Rv tester .
su tester -c "make -k check"</userinput></screen>