After I updated my system with an emerge --update --newuse --deep --with-bdeps=y -av @world, it update ppp from version 2.4.8-r1 to 2.4.9-r2. After that upgrade, I can no more connect my vpn and I see in the log: pppd[3817]: Plugin /usr/lib64/pppd/2.4.7/nm-l2tp-pppd-plugin.so is for pppd version 2.4.8, this is 2.4.9 If I downgrade ppp to version 2.4.8-r1, it's working again...
What if you rebuild network manager-l2tp with the newer ppp?
(CCed Poly because there were changes with ppp recently and he might have information. It does look like it might just be a missing sub slot (dep) though.)
rebuild networkmanager-l2tp remove this line, but still not able to connect before rebuild: Apr 16 07:14:22 tux001 NetworkManager[1536]: <info> [1618550062.8935] vpn-connection[0x55d7ec908120,6f757e35-6768-45cc-bf0e-588718265e6d,"VPN-admin",0]: VPN plugin: state changed: starting (3) Apr 16 07:14:22 tux001 pppd[3817]: Plugin /usr/lib64/pppd/2.4.7/nm-l2tp-pppd-plugin.so is for pppd version 2.4.8, this is 2.4.9 Apr 16 07:14:36 tux001 NetworkManager[1536]: <warn> [1618550076.9011] vpn-connection[0x55d7ec908120,6f757e35-6768-45cc-bf0e-588718265e6d,"VPN-admin",0]: VPN plugin: failed: connect-failed (1) Apr 16 07:14:36 tux001 NetworkManager[1536]: <warn> [1618550076.9015] vpn-connection[0x55d7ec908120,6f757e35-6768-45cc-bf0e-588718265e6d,"VPN-admin",0]: VPN plugin: failed: connect-failed (1) Apr 16 07:14:36 tux001 NetworkManager[1536]: <info> [1618550076.9017] vpn-connection[0x55d7ec908120,6f757e35-6768-45cc-bf0e-588718265e6d,"VPN-admin",0]: VPN plugin: state changed: stopping (5) and now: Apr 16 08:20:17 tux001 NetworkManager[1537]: <info> [1618554017.3633] vpn-connection[0x563caf0f0160,6f757e35-6768-45cc-bf0e-588718265e6d,"VPN-admin",0]: VPN plugin: state changed: starting (3) Apr 16 08:20:31 tux001 NetworkManager[1537]: <warn> [1618554031.3793] vpn-connection[0x563caf0f0160,6f757e35-6768-45cc-bf0e-588718265e6d,"VPN-admin",0]: VPN plugin: failed: connect-failed (1) Apr 16 08:20:31 tux001 NetworkManager[1537]: <warn> [1618554031.3797] vpn-connection[0x563caf0f0160,6f757e35-6768-45cc-bf0e-588718265e6d,"VPN-admin",0]: VPN plugin: failed: connect-failed (1) Apr 16 08:20:31 tux001 NetworkManager[1537]: <info> [1618554031.3798] vpn-connection[0x563caf0f0160,6f757e35-6768-45cc-bf0e-588718265e6d,"VPN-admin",0]: VPN plugin: state changed: stopping (5) is there a way to get more info from ppp or NetworkManager in the logs why is it failing?
I change the log level in NetworkManager this way: nmcli general logging level trace domains all but no more info, just a "connect-failed".
*** This bug has been marked as a duplicate of bug 722718 ***