Open rafaelsoaresbr opened 1 year ago
I am monitoring the upstream issue since last week. I would like to work on a fix for this on NixOS as soon as the fixes for other distros are released as announced in the linked upstream issue.
This issue is really annoying as we rely on enterprise vpn with sso at Nesto which is not supported by openvpn2.
Is there any workaround right now?
Oh. Uhh. Sorry, I haven't noticed this issue in time, and nobody pinged me.
I'm currently working on a fix, which will probably just be a boring glib pinning.
So, I have spent time working on this, and I unfortunately couldn't figure out the intricacies of the build process of glib
in Nixpkgs. No matter how much I tried, I just wasn't able to make openvpn3
actually depend on the old glib
: for some reason it always prefers the newer one, even if its dependencies use the old one correctly.
There is work in the pipe to fix the glib2 related issues .... See this comment for more details: https://github.com/OpenVPN/openvpn3-linux/issues/171#issuecomment-1858487477
The instructions in that comment is to be used on top of an existing installed version; for the time being it only replaces the first binaries failing with glib2-2.76 - but everything will be migrated to the new D-Bus implementation layer (GDBus++) - when that milestone is reached, the v22_dev
release will happen.
@KFearsoff hi! Just pinging you to let you know that v22_dev is released.
Hi there! Has anyone managed to change pkgs/tools/networking/openvpn3/default.nix
for the upstream v22_dev
which uses Meson now?
For those looking for the fix: I've created a PR where I update the system to v22_dev
.
I've just managed to make it work, but there still are some chores and clean ups I would like to do before creating a PR. E.g., I currently used a forked branch of openvpn3
instead of patches
and I haven't made the module to write openvpn3
configs yet, but you already can play with it:
https://github.com/JarvisCraft/nixpkgs/pull/1
There we go, I've created #326623 in which the version is updated to v22_dev
.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4300
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1846
Describe the bug
openvpn3 won't work with glib:2-2.76 or superior
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
openvpn3 should establish connection.
Additional context
https://github.com/OpenVPN/openvpn3-linux/issues/171 https://discussion.fedoraproject.org/t/dsommers-openvpn3/4024
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.