> My guess is that systemd starts OpenVPN too early before the network is 
> brought
> up sufficiently. Running 'sudo systemctl edit --full openvpn' and adding
> 'Wants=network-online.target' does not change that behaviour.

I tried this to test:
[Unit]
(...)
After=syslog.target network-online.target
Wants=network-online.target

It then worked. Can you give that a shot?

Upstream adopted a mixed approach and split the services into a server
and client part, and adopted different after/wants values for each (see
https://github.com/OpenVPN/openvpn/commit/28bd79ac980488dbfce2e8136287e38c6f35a043)

I don't think we can take an approach as the above for a stable release
update, though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1689833

Title:
  OpenVPN server does not start properly on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1689833/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to