Coreutils - LFS 6.2

Bartlomiej P. Lyson bartolbpl at
Mon Feb 26 09:13:43 PST 2007

--- Chris Staub <chris at> wrote:

> Wait a shouldn't have useradd at this
> point in the 
> exactly what part of the book are you?

I discovered the problem fairly recently after the
compilation of the whole lfs (v6.2).  I must have not
seen the error in coreutils in test results.
Yesterday I compiled 6.2 from the very beginning and
“make RUN_EXPENSIVE_TESTS=yes check” in chapter 5.16
and “src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes
check"” in chapter  6.14  gives me:  

make[2]: Entering directory
make  check-TESTS
make[3]: Entering directory
0+1 records in
0+1 records out
../../src/whoami: cannot find name for user ID 1000
FAIL: whoami
FAIL: help-version
1 of 1 tests failed
Please report to bug-coreutils at
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
make[2]: *** [check-am] Error 2
make[2]: Leaving directory

By the way when I was trying to log in to some users I
was receiving the message:

root at lfs:~# su – test
id: cannot find name for group ID 1002
id: cannot find name for user ID 1001
nd name for user ID 1001

More information about the lfs-support mailing list