On Wed, 14 Nov 2018 at 13:45:59 +0100, Michael Biebl wrote: > Am 14.11.18 um 13:18 schrieb Michael Biebl: > > I.e. AC_PATH_PROG return the wrong path when built in a merged-usr > > system. > > I suspect that this particular problem is very widespread, so i was > > wondering if we couldn't just address this once in the AC_PATH_PROG [1] > > macro, by preferring /bin/ over /usr/bin. Atm, it searches PATH, which > > is usually set to > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games > > As a short-term fix, I consider applying > > --- a/debian/rules > +++ b/debian/rules > @@ -10,6 +10,10 @@ override_dh_autoreconf: > > override_dh_auto_configure: > dh_auto_configure -- \ > + MODINFO=/sbin/modinfo \ > + MODPROBE=/sbin/modprobe \ > + RMMOD=/sbin/rmmod \ > + SYSCTL=/sbin/sysctl \ > --with-systemd-unitdir=/lib/systemd/system \ > --with-nft=/usr/sbin/nft \ > --with-iptables=/sbin/iptables \ > > Would you consider this a proper (short term) fix?
I would. That's the equivalent of what I've been suggesting for other packages. smcv