s6-ftrig-wait is not relocatable

From: Buck Evan <buck_at_yelp.com>
Date: Tue, 13 Oct 2015 16:58:27 -0700

I built all of s6 as static binaries and relocated them (this makes my use
case much simpler).
Everything seemed to work, but I was getting an error from s6-ftrig-wait:

    s6-ftrig-wait: fatal: unable to subscribe to event with regexp d: No
such file or directory

I ran it through strace and found this was the cause:

O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory)

That is indeed where the leapsecs.dat file lived when the binary was
compiled, but no longer.

I don't know whether this is meant to be a supported use case or not.
Regardless, can any of you all think of a workaround I can use, short of
knowing the installation path at compile time?
Received on Tue Oct 13 2015 - 23:58:27 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC