Skip to content

NetworkManager: fix openconnect for console tools #26212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2017

Conversation

timor
Copy link
Member

@timor timor commented May 29, 2017

Motivation for this change

This change allows nmcli and nmtui to work correctly with
openconnect. This is dony by hard-coding the openconnect binary location.

see #25915

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

This patch allows `nmcli` and `nmtui to work correctly with
openconnect.  This is dony by hard-coding the openconnect binary location.

see NixOS#25915
@mention-bot
Copy link

@timor, thanks for your PR! By analyzing the history of the files in this pull request, we identified @urkud, @Mic92 and @obadz to be potential reviewers.

@obadz obadz merged commit 1d56c2f into NixOS:master May 29, 2017
@bjornfor
Copy link
Contributor

Perhaps openconnect is such a small dependency(?) that it doesn't matter, but I think for optional dependencies it may be better to do a $PATH lookup.

I assume the problem with the upstream approach is that the lookup is hardcoded to typical FHS paths, whereas we'd like it if it used acutal $PATH environment variable lookup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants