On Thu, Apr 14, 2016 at 12:16 PM, Martin Langhoff martin.langhoff@gmail.com wrote:
Having a hard time with an OpenVPN network, where logs in journald don't show anything of interest yet nm-openvpn quits.
To answer my own question:
- Create /usr/libexec/nm-openvpn-service-debug, a shell script that execs /usr/libexec/nm-openvpn-service --debug
- killall nm-openvpn-service
- Edit /etc/NetworkManager/VPN/nm-openvpn-service.name to use /usr/libexec/nm-openvpn-service-debug
- Set loglevel=DEBUG in /etc/NetworkManager/NetworkManager.conf
- Restart NetworkManager
- Grab output with journald -f -u nm-openvpn -u NetworkManager
Funny enough when nm-openvpn-service is run with --debug, its output changes from being logged as nm-openvpn to NetworkManager.
Now I have all the log output; can't make heads nor tail of it but hey. Progress :-)
m