On Sun, 19 Jun 2022 14:43:48 -0400, Nathan Stratton Treadway <natha...@ontko.com> wrote:
>On Sat, Jun 18, 2022 at 19:03:48 +0200, Bo Berglund wrote: >> On Sat, 18 Jun 2022 13:46:09 +0000, tincantech via Openvpn-users >> <openvpn-users@lists.sourceforge.net> wrote: >> >If you want your log-file to contain time-stamps then edit the file: >> >/lib/systemd/system/openvpn-server@.service >> >remove '--supress-timestamps' >> >> I cannot find such a file... >> >> bosse@ubuntuserv:/lib/systemd/system$ ls -la open* >> -rw-r--r-- 1 root root 987 Jan 19 2021 open-iscsi.service >> -rw-r--r-- 1 root root 489 Jul 12 2021 open-vm-tools.service >> -rw-r--r-- 1 root root 320 Feb 19 2019 openvpn.service >> -rw-r--r-- 1 root root 914 Feb 19 2019 openvpn@.service >> >> And: >> >> bosse@ubuntuserv:/lib/systemd$ find ./ -name "openvpn*" >> ./system/openvpn@.service >> ./system/openvpn.service >> ./system-generators/openvpn-generator >> > >I'm no expert on systemd's inner workings, but do have OpenVPN running >on a Ubuntu Focal/20.04 box.... > >What do you get if you run these commands on your system?: > > $ dpkg -L openvpn | grep systemd.*openv > $ ls -l $(dpkg -L openvpn | grep systemd.*open) 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 >On my system with openvpn 2.4.7-1ubuntu2.20.04.3 currently installed, I >get: > >====== >$ dpkg -L openvpn | grep systemd.*openv >/lib/systemd/system/openvpn-client@.service >/lib/systemd/system/openvpn-server@.service >/lib/systemd/system/openvpn.service >/lib/systemd/system/openvpn@.service >/lib/systemd/system-generators/openvpn-generator > >$ ls -l $(dpkg -L openvpn | grep systemd.*open) >-rwxr-xr-x 1 root root 899 Jul 19 2021 >/lib/systemd/system-generators/openvpn-generator >-rw-r--r-- 1 root root 688 Jul 19 2021 >/lib/systemd/system/openvpn-client@.service >-rw-r--r-- 1 root root 810 Jul 19 2021 >/lib/systemd/system/openvpn-server@.service >-rw-r--r-- 1 root root 299 Jul 19 2021 /lib/systemd/system/openvpn.service >-rw-r--r-- 1 root root 946 Jul 19 2021 /lib/systemd/system/openvpn@.service >====== > >So it seems that my Ubuntu OpenVPN package does install the >/lib/systemd/system/openvpn-server@.service file .... > >(What does "apt-cache policy openvpn" say on your system?) > 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. -- Bo Berglund Developer in Sweden _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users