Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#69450 - [networkmanager-fortisslvpn] incompatible with pppd 2.4.8
Attached to Project:
Community Packages
Opened by Amin Vakil (aminvakil) - Wednesday, 27 January 2021, 11:21 GMT
Last edited by Morten Linderud (Foxboron) - Thursday, 18 February 2021, 11:11 GMT
Opened by Amin Vakil (aminvakil) - Wednesday, 27 January 2021, 11:21 GMT
Last edited by Morten Linderud (Foxboron) - Thursday, 18 February 2021, 11:11 GMT
|
DetailsDescription:
Connecting to a fortigate ssl vpn does not work with recent ppp upgrade. Additional info: * package version(s) ppp 2.4.8-1 networkmanager-fortisslvpn 1.4rc1-2 networkmanager 1.28.1dev+7+g3f5df3cdc6-1 * config and/or log files etc. Jan 27 14:45:07 hostname NetworkManager[13209]: /usr/bin/pppd: Plugin /usr/lib/pppd/2.4.5/nm-fortisslvpn-pppd-plugin.so is for pppd version 2.4.7, this is 2.4.8 Jan 27 14:45:07 hostname pppd[13209]: Plugin /usr/lib/pppd/2.4.5/nm-fortisslvpn-pppd-plugin.so is for pppd version 2.4.7, this is 2.4.8 Jan 27 14:45:07 hostname NetworkManager[13208]: ERROR: read: Input/output error Jan 27 14:45:07 hostname NetworkManager[13208]: INFO: Cancelling threads... Jan 27 14:45:07 hostname NetworkManager[13208]: INFO: Cleanup, joining threads... Jan 27 14:45:07 hostname NetworkManager[13208]: ERROR: pppd: An error was detected in processing the options given, such as two mutually exclusive options being used. Steps to reproduce: Create a forticlient vpn using networkmanager and connect. |
This task depends upon
Closed by Morten Linderud (Foxboron)
Thursday, 18 February 2021, 11:11 GMT
Reason for closing: Fixed
Thursday, 18 February 2021, 11:11 GMT
Reason for closing: Fixed
I don't think this is an incompatibility in the plugin source code, but the ppp package have been rebuilt and this package networkmanager-fortisslvpn must be rebuilt too to match the ppp version.
févr. 05 09:28:54 soad NetworkManager[3858]: /usr/bin/pppd: Plugin /usr/lib/pppd/2.4.5/nm-fortisslvpn-pppd-plugin.so is for pppd version 2.4.7, this is 2.4.8
févr. 05 09:28:54 soad pppd[3858]: Plugin /usr/lib/pppd/2.4.5/nm-fortisslvpn-pppd-plugin.so is for pppd version 2.4.7, this is 2.4.8
févr. 05 09:28:54 soad NetworkManager[3857]: ERROR: read: Input/output error
févr. 05 09:28:54 soad NetworkManager[3857]: INFO: Cancelling threads...
févr. 05 09:28:54 soad NetworkManager[3857]: INFO: Cleanup, joining threads...
févr. 05 09:28:54 soad NetworkManager[3857]: ERROR: pppd: An error was detected in processing the options given, such as two mutually exclusive options being used.
févr. 05 09:28:54 soad NetworkManager[3857]: INFO: Terminated pppd.
févr. 05 09:28:54 soad NetworkManager[3857]: INFO: Closed connection to gateway.
févr. 05 09:28:54 soad NetworkManager[3857]: INFO: Logged out.
I have cloned the repository https://github.com/archlinux/svntogit-packages.git, checked out the branch packages/ppp and run makepkg -sif in the trunk/ directory. Rebooting my system did not help.
In any case, I'm not sure what is the correct approach for fixing this or when an official fix will be provided, as I can see in the repository that the package is currently orphaned, but in order to make this work for me with ppp 2.4.8, I had to modify the PKGBUILD, right before the '--disable-static' option in line 27, and insert a line with: '--with-pppd-plugin-dir=/usr/lib/pppd/2.4.8 \'.
After that, I simply rebuilt the package with 'makepkg', installed it via 'sudo pacman -U ./networkmanager-fortisslvpn-1.4rc1-3-x86_64.pkg.tar.zst' and I was back in business!
I am attaching the updated PKGBUILD file for reference, having also incremented 'pkgrel' from 2 to 3 to avoid potential clashes with pacman's cached package.
@Cyb3rD4d, I guess you have rebuilt ppp package, you should rebuild networkmanager-fortisslvpn in order to make it compatible with new ppp (2.4.8)
asp export networkmanager-fortisslvpn; cd networkmanager-fortisslvpn; makepkg -sri
Make sure you have base-devel installed.
So I assume a rebuild and a bump in pkgrel from a maintainer would fix the issue for everyone.
I confirm @jelle solved the issue.
Thank you all for your help!