Re: coreutils-9.6 tests/chroot/chroot-credentials failure
"Bruce Dubbs" ([email protected] via lfs-support Mailing List) <[email protected]> Tue, 29 Jul 2025 18:01:22 -0500
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On 7/29/25 4:20 PM, revsuine ([email protected] via lfs-support Mailing List) wrote: > Book: LFS 12.3 SYSV > Section: 8.58 > > Hi there, tests/chroot/chroot-credentials is failing for me with coreutils-9.6. > I've not deviated from the book instructions at all (or at least I haven't > deliberately done so), and have applied the patch as instructed in section 8.58. > Here is the output from tests/test-suite.log: > > =============================================== > GNU coreutils 9.6: ./tests/test-suite.log > =============================================== > > # TOTAL: 36 > # PASS: 20 > # SKIP: 15 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > > System information (uname -a): Linux 6.12.40_1 #1 SMP PREEMPT_DYNAMIC Mon Jul 28 > 02:46:56 UTC 2025 x86_64 > > .. contents:: :depth: 2 It's really irritating to have to scroll through 2700+ lines to find the one test that failed. Even then, there is a lot of meaningless text. > FAIL: tests/chroot/chroot-credentials > ===================================== [snip] > + 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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I have no idea where this comes from. The user should be 'tester' which should have an id of 101. It looks like you may have missed the command 'groupadd -g 102 dummy -U tester' or are not running the test in chroot. In any case, I suggest ignoring a single error. -- Bruce > + Exit 1 > + set +e > + exit 1 > + exit 1 > + remove_tmp_ > + __st=1 > + cleanup_ > + : > + test '' = yes > + cd /sources/coreutils-9.6 > + chmod -R u+rwx /sources/coreutils-9.6/gt-chroot-credentials.sh.3d6q > + rm -rf /sources/coreutils-9.6/gt-chroot-credentials.sh.3d6q > + exit 1 > FAIL tests/chroot/chroot-credentials.sh (exit status: 1) -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page