This is a discussion that started in another unrelated thread titled:
"Two questions about key generation for clients"
but which does not deal with that, so I am continuing separately here.

The issue:
----------
Inside the globally set openvpn server configuration this item is defined:
--suppress-timestamps

This means that *all* server instances will get this set even though it is not
in the instance's own conf file!

Now I wonder if there is anything at all one can do on a server instance level
to disable that setting such that the timestamps are returned to the logfiles?
Like:
"reset suppress-timestamps"
or similar?

The systemd service control is so complex now that I cannot navigate the various
locations where files and symlinks are used for an openvpn service definition.

I thought that the /etc/openvpn/server/serverinstance.conf file would be the
correct location and it is in some sense but digging down into particulars it
looks like other files have been used to set these default items where one
cannot see them.

So if it would be possible to negate the use of a particular setting on an
instance basis I would like to know how...

Currently I do this to create a server instance:

Create and edit the file /etc/openvpn/server/serverlan.conf
Here I use more or less the same settings for all services, just some
differences concerning port, IP configuration, logfile names etc to
differentiate between them.

Then:
sudo systemctl enable openvpn-server@serverlan
sudo systemctl start openvpn-server@serverlan

And this has worked just fine, except for the fact that there are no timestamps
inside the logfiles created when it runs.

The command to enable the service seems to bring along the unwanted
suppress-timestamps setting. :(


-- 
Bo Berglund
Developer in Sweden



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

Reply via email to