| Summary: | OpenVPN configuration file error | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jordi Yeh <jordiyeh> |
| Component: | New packages | Assignee: | Roy Marples (RETIRED) <uberlord> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | luckyduck |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Options error: In [CMD-LINE]:1: Error opening configuration file: Applying the following patch solved the error opening configuration file. An alternative would be to fix the -cd ${VPN} to -cd ${VPNDIR} instead, but it did not work for me. diff -u /etc/init.d/openvpn /usr/portage/net-misc/openvpn/files/openvpn --- /etc/init.d/openvpn 2005-12-28 16:39:10.000000000 -0500 +++ /usr/portage/net-misc/openvpn/files/openvpn 2005-05-30 09:35:53.000000000 -0400 @@ -31,7 +31,7 @@ if [ $? -gt 0 ]; then ebegin "Starting openvpn for ${VPN}" start-stop-daemon --start --pidfile /var/run/openvpn-${VPN}.pid \ - --startas /usr/sbin/openvpn -- --config ${VPNDIR}/${VPN}/local.conf \ + --startas /usr/sbin/openvpn -- --config ${VPN}/local.conf \ --writepid /var/run/openvpn-${VPN}.pid \ --daemon --cd ${VPN} eend $?