[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2020-09-18 Thread Robie Basak
** Tags added: network-online-ordering -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1689833 Title: OpenVPN server does not start properly on boot Status in openvpn pack

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2020-03-18 Thread Bryce Harrington
** Changed in: openvpn (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1689833 Title: OpenVPN server does not start properly on

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2019-09-19 Thread Christian Ehrhardt 
Note: the if the solution needs an ifupdown hook like shown in comment #12 in >=Bionic I'd ask you to take a look for networkd-dispatch (the final solution for almost all of these bugs is that the upstream project starts to listen o netlink to pick up late ready IP addresses) FYI: There seem to be

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2019-03-18 Thread Sebastien Bacher
Do you have a pointer to the upstream discussion? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1689833 Title: OpenVPN server does not start properly on boot Status in o

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2019-03-17 Thread Nanzikambe
Seems upstream kindly solved this bug, the solution is to: In /etc/default/openvpn AUTOSTART="none" In /etc/network/interfaces iface ethX inet static address XXX.XXX.XXX.XX netmask 255.255.255.0 openvpn my_vpn_name Where ethX is your interface (ex, eth0 for a regular interface, eth0:1 fo

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2019-03-17 Thread Nanzikambe
Also affected by this bug, fresh Ubuntu Ubuntu 16.04.6 LTS minimal server install + openvpn /var/log/openvpn-.log: Sun Mar 17 14:45:59 2019 us=746742 TCP/UDP: Socket bind failed on local address [AF_INET]XXX.XXX.XXX.131:1094: Cannot assign requested address Sun Mar 17 14:45:59 2019 us=746750

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2018-10-09 Thread AW
It's the normal builtin NIC on a headless server. Tried with different hardware as well: *-network description: Ethernet interface product: 82574L Gigabit Network Connection vendor: Intel Corporation *-network description: Ethernet interface pro

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2018-10-08 Thread Andreas Hasenack
@jnx, the 192.168.11.254 address you are trying to bind to, is that the normal nic of that machine? Or something else, like a wifi interface, or something that would only come up after the user logs in, assuming this is a desktop? -- You received this bug notification because you are a member of

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2018-04-10 Thread AW
I tried your suggested settings on fresh installs including all updates but this still regularly fails to bind the address. I have those servers running as virtual machines with Qemu/KVM. If I do the same thing on bare metal, the binding will succeed in like 95% of boots. /var/log/openvpn.log

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2017-11-20 Thread Andreas Hasenack
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ is a good read about this -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1689833 Title: OpenVPN server doe

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2017-11-20 Thread Andreas Hasenack
In fact, our current openvpn package in bionic is using just these After and Wants values: After=network-online.target Wants=network-online.target ** Changed in: systemd (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2017-11-20 Thread Andreas Hasenack
> 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.targ

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2017-11-20 Thread Andreas Hasenack
Found these other bugs which look related: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1598522 https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1580356 (marked as dup of the above) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, w

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2017-11-20 Thread Simon Déziel
A possible workaround would be to add "Restart=on-failure" in the "[Service]" section of the systemd unit. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1689833 Title: Op

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2017-11-20 Thread Andreas Hasenack
I finally got to confirm this. I had to install ntp to see the same problem in my vm. Before that, openvpn was always running after a reboot. The moment I installed ntp and rebooted, I got the issue: Mon Nov 20 19:17:41 2017 TCP/UDP: Socket bind failed on local address [AF_INET]10.0.6.10:1194: Ca

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2017-05-23 Thread Nish Aravamudan
Thank you for reporting this bug. I will add it to the server team backlog, as it does appear to be a real issue. ** Changed in: openvpn (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to s

[Touch-packages] [Bug 1689833] Re: OpenVPN server does not start properly on boot

2017-05-10 Thread AW
** Description changed: OpenVPN intermittently fails to bind to local address during boot on Ubuntu Server 16.04.2 LTS. Sometimes it succeeds, sometimes it does not. /var/log/openvpn.log Wed May 10 15:42:02 2017 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11]