LFS 12.4: 8.59. Coreutils-9.7 test suite fails: tests/chroot/chroot-credentials.sh

"\"Random Penguin\"" ([email protected] via lfs-support Mailing List) <[email protected]> Mon, 24 Nov 2025 23:33:57 +0000
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
After running the first command of the test suite, I am met with a fail from
tests/chroot/chroot-credentials.sh (exit status 1) after (from what I can
tell) this command: "+ returns_ 125 chroot --userspec=+12342 /true" "chroot:
no group specified for unknown uid: 12342". After this, it shows a couple of
exit 1 commands before cleaning up and exiting the test. I have tried with and
without the i18n patch, since it's known to cause bugs, but it's the same
failure. I verified that the tester user and group (uid/gid=101) is created
and used. I also checked existing mailing list posts but couldn't find
anything. Is this test failure critical?

Information
Book: LFS 12.4
Installation Environment: Arch Linux live installation medium
(archlinux-2025.11.01-x86_64.iso) (only for chroot steps)
Section/Step: Section IV; Chapter 8; 8.59 Coreutils-9.7
Error in question: tests/chroot/chroot-credentials.sh (exit status 1) <--
'chroot: no group specified for unknown uid: 12342" <-- "+ returns_ 125 chroot
--userspec=+12342 /true"
Deviation from guide?: Other than the installation of some extra packages that
I will install at the end of Chapter 8, none

If needed, here's the commands run after the last 'test' command as seen in ./
tests/test-suite.log:

...
++ chroot '--groups=invalid ignored' --groups= / id -G
+ test 0
+ id -u +12342
id: '+12342': no such user
++ chroot --userspec=+12342:+5678 / id -G
+ test 5678 = 5678
+ returns_ 125 chroot --userspec=+12342 / true
chroot: no group specified for unknown uid: 12342
+ Exit 1
...

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page