Luckily, Fedora provides the following default PATH for us. Where the first two directories is provided by packager user’s .bashrc. Other path are provided by /etc/profile (system default).
[packager@rpm-builder etc]$ env | grep PATH PATH=/home/packager/.local/bin:/home/packager/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin I guess /user/local/bin or /usr/local/sbin is our first choice? Do we need --enable-pedantic-posix for /usr/local/bin or /usr/local/sbin? Wang qi > On Apr 1, 2024, at 20:44, Laurent Bercot <ska-skaw...@skarnet.org> wrote: > > Short of that, the only possible workaround is to find a place that appears > *before* /usr/bin in the default PATH, and install, or link, execline binaries > there. This may be difficult to find, because /usr/bin is generally one of > the first locations in PATH. If you cannot find this, then the only way is > to install execline binaries in their own directory (e.g. > /var/lib/execline/bin) > *and* add that directory to the default PATH of every user, before /usr/bin, > which is a lot more invasive.