I had a problem executing openvpn. '/var/log/messeges' said:
# openvpn: /sbin/ifconfig tun0 10....
# openvpn: Linux ifconfig failed: could not execute external program
I googled this:
===== GENTOO forum =======
> This appears to help with eth0 etc, but my openvpn fails with
> Linux ifconfig failed: could not execute external program
> Leaving the sbin symlink in place fixes this.
> I didn't see any gentoo bugs for this -- I can create a new one, but
> is there another one related to the symlink that I should add this
> note to?
There is a bug, the "fix" is to re-emerge openvpn. Apparently openvpn
has hardcoded paths for ifconfig and friends, which are set when it is
compiled, based on the locations at the time. Re-emerging builds it with
the new locations.
And so I had to create symlinks in /sbin/ pointing to /bin/ifconfig (also /bin/route)
It works, but it feels strange. Is it a sabayon bug or am I the only one?
The openvpn version (2.1.4) is of great antiquity. So what has changed to suddenly get this bug?