openvpn-2.4.2 does not start for me. [ebuild R ] net-vpn/openvpn-2.4.2::gentoo USE="examples lzo pam plugins ssl -down-root -inotify -iproute2 (-libressl) -lz4 -mbedtls -pkcs11 (-polarssl) (-selinux) -static -systemd {-test}" 0 KiB When trying to start... /etc/init.d/openvpn start * Caching service dependencies ... [ ok ] * Starting openvpn ... * start-stop-daemon: failed to start `/usr/sbin/openvpn' * Check your logs to see why startup failed [ !! ] * ERROR: openvpn failed to start Nothing in my logs. Rolling back to openvpn-2.3.15, I can again start the service. Reproducible: Always Steps to Reproduce: 1.Upgrade to openvpn-2.4.2 2.Restart service 3.Service does not start Actual Results: * ERROR: openvpn failed to start Nothing in logs indicating what is wrong. Expected Results: Service should start
If you run openvpn by hand, what happens? # /usr/sbin/openvpn --config /etc/openvpn/openvpn.conf
/usr/sbin/openvpn --config /etc/openvpn/openvpn.conf Fri May 26 10:25:06 2017 us=442067 PLUGIN_INIT: could not load plugin shared object /usr/lib/openvpn/openvpn-plugin-auth-pam.so: /usr/lib/openvpn/openvpn-plugin-auth-pam.so: cannot open shared object file: No such file or directory Fri May 26 10:25:06 2017 us=442395 Exiting due to fatal error Looks like the location of openvpn-plugin-auth-pam.so was moved with this version. Thanks for getting me in the right direction. Had to update openvpn.conf to use plugin /usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.so ovpn instead of plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so ovpn Service starts now. Thanks!
Nice, that it works now. Thank you for the report.