Re: Client history

Jochen Bern <[email protected]>
Newsgroups gmane.network.openvpn.user
Organization Binect GmbH
Message-ID <[email protected]>
On 28.02.24 14:31, Bo Berglund wrote:
> I am running *all* openvpn scripts from within /etc/openvpn/scripts and I use
> the *full path* to the scripts in the conf files calls.
> 
> I also keep all of the custom logs (as defined in the conf file) below
> /etc/openvpn/log, which is also perfectly accessile by tye openvpn service.
> 
> I can for the life of me not understan why someone is hell bent on complicating
> the issues here by wandering around in circles in all kinds of strange locations

Well, that falls under "gotta know *your* systems", I suppose.

If the system in question were Red-Hat-ish with SELinux (it isn't, 
according to the OP), it would probably refuse your logfile placement:

> # egrep 'openvpn_(var_log|unc)' /etc/selinux/targeted/contexts/files/file_contexts
> /var/log/openvpn.*      system_u:object_r:openvpn_var_log_t:s0
> /etc/openvpn/scripts(/.*)?      system_u:object_r:openvpn_unconfined_script_exec_t:s0

Kind regards,
-- 
Jochen Bern
Systemingenieur

Binect GmbH

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
smime.p7s (application/pkcs7-signature, 3.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.