EddieA
(Eddie Atherton)
May 23, 2018, 7:46pm
1
NethServer Version: NS7
Module: OpenVPN
Since OpenVPN 2.4 (Well, 2.3.18 really) the single systemd unit file was split into 2 files. One for a server configuration, the other for a client.
It appears that the CentOS rpm maintainer is still including the “old” single systemd unit file, which is no longer shipped as part of the OpenVPN tarball. Once that ceases to be included, the NS OpenVPN support will break.
Cheers.
1 Like
stephdl
(Stéphane de Labrusse)
May 23, 2018, 7:48pm
2
do you have some link please ?
EddieA
(Eddie Atherton)
May 23, 2018, 7:53pm
3
Here’s the commit.
As I said, luckily the CentOS maintainer is currently still including the deprecated unit file, which is why it’s still working today.
I did raise this at the time it was originally pushed.
Cheers.
1 Like
stephdl
(Stéphane de Labrusse)
May 23, 2018, 8:05pm
4
Committed by: Gert Doering 2014-11-24
EddieA
(Eddie Atherton)
May 23, 2018, 8:13pm
5
And CentOS pushed through version 2.4.1, the first CentOS rpm with that update, in April '17.
How long do you trust that the deprecated file will continue to be part of the rpm.
Cheers.
stephdl
(Stéphane de Labrusse)
May 23, 2018, 8:14pm
6
Yep we can see the full sources at https://sourceforge.net/p/openvpn/openvpn/ci/release/2.4/~/tree/distro/systemd/
It seems that other commits came, probably the maintainer know it is a breaking change, so it could explain why it is not released.
did you use this systemd service file ?
stephdl
(Stéphane de Labrusse)
May 23, 2018, 8:17pm
7
I confirm that the openvpn service crashes
EddieA
(Eddie Atherton)
May 23, 2018, 8:17pm
8
NS still uses the “old” file for RoadWarrior support, which I currently use, but am looking at dropping in favour of WireGuard.
I use the new -client format for an outbound VPN, created and maintained outside of the NS framework.
Cheers.
stephdl
(Stéphane de Labrusse)
May 23, 2018, 8:19pm
9
this is an advocacy for a script to download and follow updates @davidep
davidep
(Davide Principi)
May 23, 2018, 8:43pm
10
We have to stay tuned with upstream developments
2 Likes