On Sun, Jun 19, 2022 at 23:03:15 +0200, Bo Berglund wrote: > I get this: > > dpkg -L openvpn | grep systemd.*openv > /lib/systemd/system-generators/openvpn-generator > /lib/systemd/system/openvpn.service > /lib/systemd/system/openvpn@.service > /usr/lib/systemd/system/openvpn-client@.service > /usr/lib/systemd/system/openvpn-server@.service > > and: > > ls -l $(dpkg -L openvpn | grep systemd.*open) > -rwxr-xr-x 1 root root 899 Feb 19 2019 > /lib/systemd/system-generators/openvpn-generator > -rw-r--r-- 1 root root 320 Feb 19 2019 /lib/systemd/system/openvpn.service > -rw-r--r-- 1 root root 914 Feb 19 2019 /lib/systemd/system/openvpn@.service > -rw-r--r-- 1 root root 702 Feb 19 2019 > /usr/lib/systemd/system/openvpn-client@.service > -rw-r--r-- 1 root root 824 Jun 18 23:26 > /usr/lib/systemd/system/openvpn-server@.service [...] > I get this: > > apt-cache policy openvpn > openvpn: > Installed: 2.4.7-xenial0 > Candidate: 2.4.7-xenial0 > Version table: > *** 2.4.7-xenial0 100 > 100 /var/lib/dpkg/status > 2.4.7-1ubuntu2.20.04.4 500 > 500 http://se.archive.ubuntu.com/ubuntu focal-updates/main amd64 > Packages > 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 > Packages > 500 http://archive.ubuntu.com/ubuntu focal-security/main amd64 > Packages > 500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages > 2.4.7-1ubuntu2 500 > 500 http://se.archive.ubuntu.com/ubuntu focal/main amd64 Packages > 500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages > > I am not enough into Linux to get anything useful from this... > Hopefully you can.
Well, I don't know how much difference it will make for your overall project, but this output shows that you are still running an old ("xenial") version of OpenVPN... and that package puts .service files under both /lib/ and /usr/lib/ So I think that explains the results you saw from your "find" commands. I'm guessing you used a locally-build package for 2.4.7 under Xenial (since the Ubuntu repo for Xenial has version 2.3.10)... but the naming conventions clash ("-xenial0" is greater than "-1ubuntu" in the package version-string sort order) and so the system didn't automatically move to the Focal-provided package when you upgraded. Anyway, unless you have a specific reason to stick with the -xenial package, you could go ahead and manually upgrade to the 2.4.7-1ubuntu2.20.04.4 version of the package... at which point all your .service files should appear together under /usr/lib/ (and from that point your system should automaticly offer to update to newer versions of the package within Focal, if any someday get released). Nathan ---------------------------------------------------------------------------- Nathan Stratton Treadway - natha...@ontko.com - Mid-Atlantic region Ray Ontko & Co. - Software consulting services - http://www.ontko.com/ GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239 Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239 _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users