theinvisible / openfortigui

VPN-GUI to connect to Fortigate-Hardware, based on openfortivpn
https://hadler.me/linux/openfortigui/
GNU General Public License v3.0
489 stars 54 forks source link

When openfortigui connects network-manager dies #102

Closed aseques closed 4 years ago

aseques commented 4 years ago

I am on ubuntu 19.10, and trying to use openfortigui 0.8.2. The issue is that at the moment I connect the vpn, network-manager immediately dies. I don't know if the bug is on openfortigui or there (I'll move there if it seems more appropiate) This is the error message seen by dmesg:

[27639.985927] NetworkManager[29125]: segfault at 8 ip 000055b8ae86e88e sp 00007ffdadaca950 error 4 in NetworkManager[55b8ae72e000+1c1000] [27639.985937] Code: 00 00 48 8d 2d 33 1e 13 00 48 f7 45 18 00 01 20 00 74 7d 48 89 df e8 31 68 fc ff 48 f7 45 18 00 01 20 00 74 6b 48 8b 54 24 10 <48> 8b 4a 08 48 85 c0 0f 84 45 01 00 00 48 89 c7 48 8d 15 ce e8 08 [27640.813044] NetworkManager[29883]: segfault at 8 ip 000056097486688e sp 00007ffec42525d0 error 4 in NetworkManager[560974726000+1c1000] [27640.813051] Code: 00 00 48 8d 2d 33 1e 13 00 48 f7 45 18 00 01 20 00 74 7d 48 89 df e8 31 68 fc ff 48 f7 45 18 00 01 20 00 74 6b 48 8b 54 24 10 <48> 8b 4a 08 48 85 c0 0f 84 45 01 00 00 48 89 c7 48 8d 15 ce e8 08 [27641.252224] NetworkManager[29909]: segfault at 8 ip 000055c586ab388e sp 00007fffc1507fb0 error 4 in NetworkManager[55c586973000+1c1000] [27641.252231] Code: 00 00 48 8d 2d 33 1e 13 00 48 f7 45 18 00 01 20 00 74 7d 48 89 df e8 31 68 fc ff 48 f7 45 18 00 01 20 00 74 6b 48 8b 54 24 10 <48> 8b 4a 08 48 85 c0 0f 84 45 01 00 00 48 89 c7 48 8d 15 ce e8 08 [27641.743529] NetworkManager[30048]: segfault at 8 ip 0000558e8283788e sp 00007ffd39240510 error 4 in NetworkManager[558e826f7000+1c1000] [27641.743536] Code: 00 00 48 8d 2d 33 1e 13 00 48 f7 45 18 00 01 20 00 74 7d 48 89 df e8 31 68 fc ff 48 f7 45 18 00 01 20 00 74 6b 48 8b 54 24 10 <48> 8b 4a 08 48 85 c0 0f 84 45 01 00 00 48 89 c7 48 8d 15 ce e8 08 [27642.265424] NetworkManager[30056]: segfault at 8 ip 000055f161cd988e sp 00007fff4ff493f0 error 4 in NetworkManager[55f161b99000+1c1000] [27642.265431] Code: 00 00 48 8d 2d 33 1e 13 00 48 f7 45 18 00 01 20 00 74 7d 48 89 df e8 31 68 fc ff 48 f7 45 18 00 01 20 00 74 6b 48 8b 54 24 10 <48> 8b 4a 08 48 85 c0 0f 84 45 01 00 00 48 89 c7 48 8d 15 ce e8 08 [27642.738102] NetworkManager[30194]: segfault at 8 ip 000055e33a5d188e sp 00007ffe63ee4b70 error 4 in NetworkManager[55e33a491000+1c1000] [27642.738109] Code: 00 00 48 8d 2d 33 1e 13 00 48 f7 45 18 00 01 20 00 74 7d 48 89 df e8 31 68 fc ff 48 f7 45 18 00 01 20 00 74 6b 48 8b 54 24 10 <48> 8b 4a 08 48 85 c0 0f 84 45 01 00 00 48 89 c7 48 8d 15 ce e8 08 I might open again the network manager, but the connection won't persist until I stop openfortigui, so it seems that both are incompatible.

theinvisible commented 4 years ago

Do you have any VPN running in NetworkManager when starting the VPN in OpenFortiGUI? Maybe some conflict/bug then in accessing ppp tunnel interfaces.

aseques commented 4 years ago

I dug some more into the issue and couldn't find the cause, there must be some interaction between the forticlient vpn binary and network manager. I opened the report at freedesktop for it and I'm waiting for the results there

theinvisible commented 4 years ago

Thanks, i saw the issue was fixed on their side, so i suggest to close this issue.

aseques commented 4 years ago

I'm closing the issue, because it was network-manager related, after installing openfortigui on a fresh install on 19.10 it's working great.