[blfs-dev] systemd-239 testsuite assumes "/bin/touch"

Xi Ruoyao xry111 at mengyan1223.wang
Sat Nov 17 16:53:56 PST 2018


On 2018-11-17 18:39 -0600, DJ Lucas via blfs-dev wrote:
> On November 17, 2018 4:56:06 PM CST, Xi Ruoyao via blfs-dev <
> blfs-dev at lists.linuxfromscratch.org> 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.
> 
> To answer my own question, no. 
> 
> http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s04.html
> 
> and
> 
> https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/command.html#AEN57477
> 
> So head, sleep, and touch should be found via $PATH, and nice should
> be the shell built-in.

I agree.  Created systemd#10824 to notify them.
-- 
Xi Ruoyao <xry111 at mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University



More information about the blfs-dev mailing list