Bug 3950 - Networkmanager openconnect failed to connect : could not find openconnect binary
Summary: Networkmanager openconnect failed to connect : could not find openconnect binary
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: John Balcaen
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2011-12-30 14:56 CET by Lucien XU
Modified: 2012-02-24 14:49 CET (History)
2 users (show)

See Also:
Source RPM: networkmanager-openconnect
CVE:
Status comment:


Attachments

Description Lucien XU 2011-12-30 14:56:59 CET
Description of problem:
I cannot use openconnect with networkmanager. It always failed to connect very quickly. In log, I can find that networkmanager cannot find openconnect binary :

Dec 30 14:48:34 celest NetworkManager[1690]: NetworkManager[1690]: <warn> VPN connection 'VPN EPFL' failed to connect: 'Could not find openconnect binary.'.

(using KDE)

Version-Release number of selected component (if applicable):
openconnect-3.15-1.mga2.x86_64
networkmanager-openconnect-0.9.0-1.mga2.x86_64
knetworkmanager-openconnect-0.9-1.20111130.1.mga2.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Configure a VPN access in networkmanager (I used KDE configuration tool)
2. Try to connect
3. It fail. And in log files, it is written that openconnect binary was not found
Comment 1 Lucien XU 2011-12-30 14:57:23 CET
Note : using openconnect in CLI works well
Comment 2 Manuel Hiebel 2011-12-30 15:58:38 CET
Hi, thanks for reporting this bug.

Assigned to the package maintainer.

maybe an upstream bug ?
(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => balcaen.john
Source RPM: (none) => knetworkmanager

Comment 3 John Balcaen 2012-01-11 15:02:23 CET
@lucien
Does it work using nm-applet ?
(the idea is to see if the bug is in nm or in knetworkmanager).

CC: (none) => balcaen.john

Comment 4 Lucien XU 2012-01-11 16:47:27 CET
I don't remember clearly. I think no.
Will test again
Comment 5 Guillaume Rousse 2012-02-22 18:06:30 CET
Same problem here. I've been unable to use strace to check if any attempt to find the binary was actually done:

[guillaume@beria ~]$ strace -e trace=open  -f -p 3226
[..]
[pid 10139] open("/home/guillaume/.icons/Adwaita/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 10139] open("/usr/share/icons/Adwaita/cursors/xterm", O_RDONLY) = 8
.. The authentication dialog happens here..
Process 10140 detached
Process 10139 detached
[pid  3226] --- {si_signo=SIGPIPE, si_code=SI_USER, si_pid=3226, si_uid=500} (Broken pipe) ---
[pid  3226] --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=10139, si_status=0, si_utime=44, si_stime=17} (Child exited) ---

CC: (none) => guillomovitch

Comment 6 Guillaume Rousse 2012-02-24 14:49:12 CET
I just fixed the openconnect plugin, by rebuilding it. Apparently the previous one didn't had the correct path included.

Status: NEW => RESOLVED
Resolution: (none) => FIXED
Source RPM: knetworkmanager => networkmanager-openconnect


Note You need to log in before you can comment on or make changes to this bug.