When I try to disconnect PPTP connection KVPNC says "killall -3 pptp failed" becaus it expects killall is in "/usr/bin" and not in "/bin" as in Gentoo. Reproducible: Always The problem arises due to psmisc-22.5 in Gentoo is incompatible with original file layout in Debian, RedHat,Fedora and other major distros and KVPNC has been tested with one of them. I suggest to fix sys-process/psmisc-22.5 to be compatible with standard layout. psmisc-22.5.ebuild creates symlinks and psmisc-22.5.ebuild hasn't, the following code was removed # Some packages expect these to use /usr, others to use / dodir /usr/bin cd "${D}"/bin for f in * ; do dosym /bin/${f} /usr/bin/${f} done Another solution (not very good IMHO) is to apply following Gentoo-specific patch by KVPNC ebuild: --- kvpnc-0.8.9/src/kvpncconfig.cpp.orig 2007-07-11 20:34:39.000000000 +0600 +++ kvpnc-0.8.9/src/kvpncconfig.cpp 2007-07-11 20:40:20.000000000 +0600 @@ -738,7 +738,7 @@ pathToPptp = config->readEntry ("Path to pptp","/usr/sbin/pptp"); pathToL2tpd = config->readEntry ("Path to l2tpd","/usr/sbin/l2tpd"); pathToKill = config->readEntry ("Path to kill","/bin/kill"); - pathToKillall = config->readEntry ("Path to kill-all","/usr/bin/killall"); + pathToKillall = config->readEntry ("Path to kill-all","/bin/killall"); pathToPing = config->readEntry ("Path to ping","/bin/ping"); pathToOpenvpn = config->readEntry ("Path to openvpn","/usr/sbin/openvpn"); pathToPkcs11Tool = config->readEntry( "Path to pkcs11-tool", "/usr/bin/pkcs11-tool" );
Created attachment 124580 [details] psmisc ebuild fix Return dosym() code for compatible binaries layout.
Created attachment 124582 [details] Different solution - Gentoo-specific patch for KVPNC source
will be fixed with latest psmisc ebuild.