Hi, When building the systemd branch of LFS, one of the coreutils tests fails: FAIL: tests/df/skip-rootfs.sh
That test is skipped if `df' exits with nonzero code. This is what happens on trunk LFS, because /etc/mtab is empty. Now, on systemd branch, /etc/mtab is a symbolic link to /proc/self/mounts, and `df' runs without error (although it returns bogus information!). Then the test script runs `df -a', but we have: ------------- root:/# df -a df: '/run/lock': No such file or directory df: '/mnt/RH6.2': No such file or directory df: '/mnt/virtualfs': No such file or directory df: '/var/lib/nfs/rpc_pipefs': No such file or directory Filesystem 1K-blocks Used Available Use% Mounted on rootfs 15481840 2006572 12688836 14% / [...] root:/# echo $? 1 -------------- while the test assume that there should be no error. The reason is that /proc/self/mounts contains all the mounts accessible from the host. Since some of them are not found inside the chroot jail, `df -a' fails. Of course, that does not always happen (I already have built the systemd branch without that error). One possible fix is: sed -i '/df -a >out/s@fail=1@skip_ "df -a fails"@' \ tests/df/skip-rootfs.sh Regards Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page