Closed mak163 closed 2 years ago
Does sudo touch /etc/ipsec.d/ipsec.nm-l2tp.secrets
work?
I'm not sure where Gentoo puts nm-l2tp-service
, but you could try something like the following on the command-line :
sudo killall -TERM nm-l2tp-service
sudo /usr/lib/NetworkManager/nm-l2tp-service --debug
With nm-l2tp-service
running on the command-line, try connecting to the VPN via the GUI (or nmcli if you use that instead). The debug output might provide some hints.
Perhaps AppArmor or SELinux is preventing the writing to the file?
I'll assume you sorted the issue out, so will close this issue.
Gentoo failed to connect: 'Could not write /etc/ipsec.d/ipsec.nm-l2tp.secrets' in syslog