On 11/17/2018 08:34 PM, DJ Lucas via blfs-dev wrote:
On 11/17/2018 04:56 PM, Xi Ruoyao via lfs-dev wrote:
systemd-239 test suite fails in BLFS:
exec-basic.service: Executing: /bin/touch /tmp/b
exec-basic.service: Failed to execute command: No such file or
directory
We can list `touch` as "a Coreutils programs expected by BLFS packages
to be in /bin", and move it to /bin in Sect. 6.54 (along with `head`,
`sleep`, and `nice`), or, mention this issue in BLFS.
Sorry for multiple messages, moving to LFS-Dev.
All of the ones that we have separate should be moved into the section
above. /bin/sleep is used in init-functions (as well as /bin/head and
/bin/nice). As to touch, I'm kind of indifferent (but see below). We've
done it before, but it would be a loaner. We do use the touch builtin in
rc, and could can change that to /bin/touch and just sidestep the issue
completely and lump it in with the others.
Thoughts?
The only files that need to be moved to support the scripts are those in
S00mountvirtfs S08localnet S20swap S40mountfs
S05modules S10udev S30checkfs
After those, /usr is mounted (or should be). I've tested using a
separate /usr partition and have not run into any issues. Anything that
systemd wants and is not available should be fixed in systemd.
IIRC, systemd doesn't even support a separate /usr partition so
specifying /usr/bin should always work when using systemd.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page