[blfs] 02/02: keyutils: don't run test suite in chroot environment

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

commit a634e918701eea481108edefa5a89d106fd10638
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sun May 17 20:49:08 2026 +0800

    keyutils: don't run test suite in chroot environment
    
    Just got a bunch of failures on a host distro w/o keyutils installation.
---
 general/genlib/keyutils.xml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/general/genlib/keyutils.xml b/general/genlib/keyutils.xml
index a8939ff8cd..498863d9da 100644
--- a/general/genlib/keyutils.xml
+++ b/general/genlib/keyutils.xml
@@ -120,10 +120,18 @@
       If <xref linkend='lsb-tools'/> is not installed, the test suite will
       output some lines complaining the <command>lsb_release</command>
       command not available but it won't affect the test result. The tests
-      are currently known to fail once it attempts to add user-generated keys
+      does not work in a chroot environment.
+      <!-- The kernel needs to invoke /sbin/request-key sometimes, so
+      running the test suite in a chroot environment will actually test
+      the host distro's request-key program.  Just don't do that.
+
+      The tests are currently known to fail once it attempts to add user-generated keys
       to the keyring.
-      <!-- I did verify that this occurs on other distros as well, and it seems
-      to be known at Gentoo.-->
+      I did verify that this occurs on other distros as well, and it seems
+      to be known at Gentoo.
+
+      Is this still a issue if we rule out running the test suite in
+      chroot? -->
     </para>
 
   </sect2>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.