Ken Moffat wrote:
On Sat, Mar 07, 2015 at 03:12:35PM -0600, Bruce Dubbs wrote:
Ken Moffat wrote:

Strangely, I just tested this on a fully-completed desktop, and both
tests pass - in LFS chroot the suite continues to claim that
udev-test.pl failed, without showing any individual test failures.
That script only uses 'warnings' and 'strict', so does not need any
extra modules, and all the test rules and devices are within the
eudev source.  Ah!  It fails if run as root.  No idea why.

I don't recall which test it was but someone was testing for ownership of /.
It failed because it was not root.  It was originally a partition mounted as
/mnt/lfs and when I built LFS, I owned that partition.  Going back and doing
'sudo chown root.root /' fixed that particular test.

Thanks - should we 'chown root.root /mnt/lfs' on the way into
chroot, or perhaps 'chown root.root /' before running the eudev test
suite ?

I don't know if we should do either. We never say to change the ownership, but I do it so jhalfs can create it's directory there. If you follow the book strictly, then /mnt/lfs should be root:root.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to