[Bug 1689833] Re: OpenVPN server does not start properly on boot
Andreas Hasenack
andreas at canonical.com
Mon Nov 20 20:01:33 UTC 2017
> 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
Server Team, which is subscribed to the bug report.
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
More information about the Ubuntu-server-bugs
mailing list