[LEDE-DEV] [PATCH RFC 2/3] openvpn: use proper quoting of push option in openvpn.config
Felix Fietkau
nbd at nbd.name
Sat Dec 10 01:03:23 PST 2016
On 2016-12-09 21:07, Magnus Kroken wrote:
> OpenVPN requires arguments to --push to be enclosed in double quotes.
> A single set of quotes is stripped when the UCI config is parsed.
> Enclosing in double and single quotes results in a proper configuration.
>
> This does not cause errors in OpenVPN 2.3, but OpenVPN 2.4 fails to start
> with unquoted push arguments.
>
> This fixes FS#290 by way of documentation, but existing configurations
> will need editing to work with OpenVPN 2.4.
>
> Signed-off-by: Magnus Kroken <mkroken at gmail.com>
I think pushing the double quotes inside the configuration is the wrong
place. This should be fixed in the init script instead.
- Felix
More information about the Lede-dev
mailing list