This doesn't directly answer your question but we have done what you are about 
to do and didn't have any problems.  In our situation OpenVPN ran on a VM so we 
did a backup of the image beforehand.  Ubuntu is pretty good about not 
replacing configuration files with customizations without prompting first.  A 
tar of /etc/openvpn would be a good idea.  If you're concerned about 
uninterrupted operation I don't know that there's much you can do.  Might be 
time to set up a backup system and plan a time/pay the price for a couple of 
two-minute outages at an opportune time.


-----Original Message-----
From: Bo Berglund <bo.bergl...@gmail.com>
To: openvpn-users@lists.sourceforge.net
Sent: Mon, Feb 7, 2022 6:46 am
Subject: [Openvpn-users] Check how openvpn was installed on Ubuntu?

I have an OpenVPN server running on an Ubuntu Server 18.04 LTS and it is due for
release-upgrade. The installation of OpenVPN was originally done back in 2017 on
the 16.04 LTS version.

Now I do not remember *how* it was installed, if I just used apt install openvpn
like I do nowadays or if I first added the OpenVPN repositories to apt...

Any customizations of apt sources will be overwritten bya a release-upgrade so I
need to figure this out before the upgrade can be done.

I check like this:

$ openvpn --version
OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11]
[MH/PKTINFO] [AEAD] built on Feb 19 2019
library versions: OpenSSL 1.0.2n  7 Dec 2017, LZO 2.10

So it seems rather old, but if I do the same check in another newer Ubuntu
20.04.3 I have then I get this:

$ openvpn --version
OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11]
[MH/PKTINFO] [AEAD] built on Jul 19 2021
library versions: OpenSSL 1.1.1f  31 Mar 2020, LZO 2.10

This is the same 2.4.7 version on both but the dates differ a lot...

So I checked the custom repositories for apt:
$ ls -l /etc/apt/sources.list.d/
total 8
-rw-r--r-- 1 root root 97 Oct 16  2019 openvpn-aptrepo.list
-rw-r--r-- 1 root root 63 Oct 16  2019 openvpn-aptrepo.list.distUpgrade

The same on my other server shows an empty list.

What to do to ensure that OpenVPN will work properly also after the Ubuntu
do-release-upgrade to 20.04?



-- 
Bo Berglund
Developer in Sweden



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to