Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#41634 - [openvpn] systemd service should pull in networkd-online.target
Attached to Project:
Arch Linux
Opened by Marius (65kid) - Wednesday, 20 August 2014, 12:14 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 20 August 2014, 14:41 GMT
Opened by Marius (65kid) - Wednesday, 20 August 2014, 12:14 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 20 August 2014, 14:41 GMT
|
Detailsopenvpn@.service should add the following in the [Unit] section to make sure the network is up before it is started:
Wants=network-online.target After=network-online.target see also: http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 20 August 2014, 14:41 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#40838
Wednesday, 20 August 2014, 14:41 GMT
Reason for closing: Duplicate
Additional comments about closing:
In my particular case I want to connect to an anonymous VPN provider but it sometimes fails to resolve the hostname on boot. Using network-online.target together with systemd-networkd-wait-online.service fixes this properly.
For people whose definition of "online" is "VPN is up" the current behaviour is broken as well and adding this wouldn't make it worse. They could still fix this themselves with a unit.d snippet.