[solved] Kodi and sudo openvpn

Dear all,
I am trying to get the OpenVPN-Manager add-on Kodi to work.
The add-on calls sudo openvpn. So I needed to setup sudo accordingly.
the kodi log says:
using
I used kodi v14 from the repos as well as kodi v17 from kekePower in Mageia 5 - no differences. I run kodi as standalone with autologin of of my standard user.
Entry in visudo
Does anyone have an idea or a hint what I can check?
Thanks
I am trying to get the OpenVPN-Manager add-on Kodi to work.
The add-on calls sudo openvpn. So I needed to setup sudo accordingly.
the kodi log says:
- Code: Select all
21:12:28 T:139979707557632 NONE: VPN Mgr Debug: (Linux) Starting VPN with /usr/sbin/openvpn "/home/media/.kodi/addons/service.vpn.manager/ExpressVPN/Albania (UDP).ovpn" > /home/media/openvpn.log &
- Code: Select all
Mon Aug 15 20:53:52 2016 us=678147 ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
Mon Aug 15 20:53:52 2016 us=678251 Exiting due to fatal error
using
- Code: Select all
sudo /usr/sbin/openvpn ~/.kodi/addons/service.vpn.manager/ExpressVPN/Germany\ -\ Frankfurt\ -\ 1\ \(UDP\).ovpn
I used kodi v14 from the repos as well as kodi v17 from kekePower in Mageia 5 - no differences. I run kodi as standalone with autologin of of my standard user.
Entry in visudo
- Code: Select all
Cmnd_Alias KODI = /usr/sbin/openvpn
# User privilege specification
media ALL=(root) NOPASSWD: KODI
Does anyone have an idea or a hint what I can check?
Thanks