Jhalfs not logging non-root Coreutils tests
matthew at linuxfromscratch.org
Wed Dec 9 13:00:22 PST 2009
Bruce Dubbs wrote:
> Matthew Burgess wrote:
>> /mnt/lfs/jhalfs/test-logs/081-coreutils only has the results for the
>> root test results. I suspect this is a permissions issue as the log
>> file is then obviously owned by root and the following tests are run as
>> 'nobody'. However, as I don't normally monitor the build at that point,
>> I've lost whatever the real error was, assuming it got logged/output
>> Is it possible to 'tweak' the XSL file to add a chown/chmod of the log
>> file? I think such a fixup could go in lfs.xsl around lines 153-183, but
>> my XSL-foo isn't good enough to figure out what the magic incantation
>> would be.
> Did you try just putting a chmod 666 test-logs/081-coreutils into the
> make file? If that works, we can try to come up with the xsl to do the
> same thing.
I've forced a rebuild of coreutils by removing the /jhalfs/081-coreutils
marker and confirmed that adding 'chmod 666 test-logs/081-coreutils' is
enough to get the tests logged correctly.
More information about the alfs-discuss