Matthew Burgess wrote: > I had a thought last week that this omission of the setuid bit is what's > causing the test > failures in the gnulib tests included in the latest version of coreutils. > I'll see if I > can find time this week to test that theory out.
The only test that fails is test-getlogin and that is worked around in the book. It's definitely something we are doing. As a normal user: FORCE_UNSAFE_CONFIGURE=1 ./configure make cd gnulib-tests/ make check TESTS=test-getlogin And it passes. Running the same program as root fails. sudo make check TESTS=test-getlogin The program is doing: buf = getlogin(); name = getenv( "USERNAME" ); And failing if they don't match. In my case, name=root buf=bdubbs So it fails. I'd be comfortable with just removing the test from the Makefile or leaving the sed the way it is. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page