On Wed, 21 Dec 2005 11:34:22 -0800, Jim Gifford wrote:
I posted a solution in lfs-support. Here is it
In my testing with Cross-LFS, I have found that this works
echo dummy1:x:1000: /etc/group
echo dummy:x:1000:1000:::/bin/bash /etc/passwd
cd tests
su dummy -c sh run-all
sed -i
On Fri, 23 Dec 2005, Greg Schafer wrote:
On Wed, 21 Dec 2005 11:34:22 -0800, Jim Gifford wrote:
I posted a solution in lfs-support. Here is it
In my testing with Cross-LFS, I have found that this works
echo dummy1:x:1000: /etc/group
echo dummy:x:1000:1000:::/bin/bash /etc/passwd
cd tests
Ken Moffat wrote:
'su' from /tools. Neither CLFS nor LFS suppress this in the first
build of coreutils.
WARNING: insufficient access; not installing su
NOTE: to install su, run 'make install-root' as root
The temporary tools are (meant to be) built as non-root.
Regards
Greg
--
Archaic Wrote:
Is it a warning or does it not run the tests? Or do the tests run and
fail?
They run anyhow... execscript for example simply has this in it:
if [ $UID -eq 0 ]; then
echo execscript: the test suite should not be run as root 2
fi
I don't know how running as root skews
Jeremy Herbison wrote:
I don't know how running as root skews the results, though. I know
the tests all pass as-is.
It's possible that they do something that's maybe-unsafe when they get
run as root. I don't know for sure, though; I haven't looked into it at
all. Just saying that this is one
I posted a solution in lfs-support. Here is it
In my testing with Cross-LFS, I have found that this works
echo dummy1:x:1000: /etc/group
echo dummy:x:1000:1000:::/bin/bash /etc/passwd
cd tests
su dummy -c sh run-all
sed -i '/dummy/d' /etc/passwd /etc/group
rm /tmp/*
--
--
[EMAIL
The Bash 3.1 testsuite (not sure about previous versions) gives the
following warnings:
execscript: the test suite should not be run as root
exec7.sub: the test suite should not be run as root
test-tests: the test suite should not be run as root
A non-root user should be set up temporarily, much
On Tue, Dec 20, 2005 at 07:26:17PM -0700, Jeremy Herbison wrote:
execscript: the test suite should not be run as root
exec7.sub: the test suite should not be run as root
test-tests: the test suite should not be run as root
Is it a warning or does it not run the tests? Or do the tests run and