Trying to get openvpn working with OSMC on pi

Do you know why openvpn is logging to that file, rather than to syslog? Is is something that’s been explicitly specified in your openvpn configuration - or is that the OSMC default?

First, it needs to be called openvpn.log for that to work and, second, that’s not my understanding of the whereis command.

osmc@osmc:~$ ls -l ~/.kodi/temp
total 120
drwxr-xr-x 2 osmc osmc  4096 Mar 19 11:29 archive_cache
-rw-r--r-- 1 osmc osmc 42324 Mar 21 17:46 kodi.log
-rw-r--r-- 1 osmc osmc 56313 Mar 19 09:21 kodi.old.log
drwxr-xr-x 2 osmc osmc  4096 Jan  1  2015 temp
osmc@osmc:~/.kodi/temp$ whereis kodi.log
kodi: /usr/bin/kodi /usr/lib/kodi /usr/include/kodi /usr/share/kodi

Just to be sure:

osmc@osmc:~$ ls -l /var/log
total 416
-rw-r--r-- 1 root root   2827 Mar 19 11:57 alternatives.log
drwxr-xr-x 2 root root   4096 Mar 17 18:20 apt
-rw------- 1 root utmp      0 Feb 26 18:11 btmp
-rw-r----- 1 root adm      31 Feb 26 18:12 dmesg
-rw-r--r-- 1 root root  28347 Mar 20 15:57 dpkg.log
-rw-r--r-- 1 root root  24024 Feb 26 18:17 faillog
drwxr-xr-x 2 root root   4096 Jan  1  2015 fsck
-rw-rw-r-- 1 root utmp 292292 Mar 21 17:49 lastlog
-rw-r--r-- 1 root root   1528 Mar 19 11:29 lircd
drwxr-xr-x 2 ntp  ntp    4096 Jul 22  2016 ntpstats
drwxr-x--- 2 root adm    4096 Dec 17 22:20 samba
-rw-rw-r-- 1 root utmp  38016 Mar 21 17:49 wtmp
osmc@osmc:~$ whereis dpkg.log
dpkg: /usr/bin/dpkg /usr/lib/dpkg /etc/dpkg /usr/share/dpkg

Here’s the man page summary from Debian:

whereis - locate the binary, source, and manual page files for a command

It didn’t locate either the kodi.log or dpkg.log file and the man page doesn’t mention log files.