On Thu, Apr 14, 2016 at 12:16 PM, Martin Langhoff
<martin.langh...@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
-- 
 martin.langh...@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to