On 27.09.2017 12:05, Markus Kolb wrote:

Hi Markus,

> Package: openvpn
> Version: 2.4.0-6+deb9u1
> Severity: normal
> 
> Dear Maintainer,
> 
> the provided openvpn@.service script is missing 2 lines:
> After=syslog.target network-online.target
> Wants=network-online.target
> 
> Without these lines the openvpn starts too early and doesn't find
> available network devices it could bind to.

Do you bind your OpenVPN instance to a specific IP address (i.e. by
using the "local" configuration option)?

Otherwise OpenVPN should start just fine even when only "lo" is
configured at this point.

I'm not sure we want to fix this globally. As far as I understood
depending on "network-online.target" should be avoided if possible,
since the point of "external connectivity is available" is not easily
determined.

You can add this locally by executing

$ sudo systemctl add-wants openvpn@.service network-online.target

Bernhard

Reply via email to