Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125749 - =net-wireless/wpa_supplicant-0.5.1: wpa_supplicant fails to start (TLS/SSL problems)
Summary: =net-wireless/wpa_supplicant-0.5.1: wpa_supplicant fails to start (TLS/SSL pr...
Status: RESOLVED DUPLICATE of bug 102361
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Henrik Brix Andersen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 12:06 UTC by Wolfram Schlich (RETIRED)
Modified: 2006-03-15 07:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2006-03-10 12:06:35 UTC
Emerged wpa_supplicant with USE="ssl", result:
--8<--
[...]
 * Starting wlan0
 *   Starting wpa_supplicant on wlan0 ...
ENGINE: ctrl cmd_string failed: LOAD (null) [error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library]
SSL: Failed to initialize TLS context.
Failed to initialize EAPOL state machines.
--8<--
Emerging it with USE="-ssl" doesn't make this appear (obviously).
Comment 1 Henrik Brix Andersen 2006-03-10 12:14:22 UTC
Please attach the output of "emerge --info" and your wpa_supplicant.conf file.
Comment 2 MAL 2006-03-14 13:45:34 UTC
It appears to be because of the following lines in wpa_supplicant.conf.example:

opensc_engine_path=/usr/lib/opensc/engine_opensc.so
pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so

None of which are installed by wpa_supplicant

My laptop's wpa_supplicant continued to work over the update, because it's config file is from before these lines were added.

Are the openssl libraries optional?  If so, please comment them out of the example config via the ebuild, or better yet, install a Gentoo example /etc/wpa_supplicant.conf
Comment 3 Henrik Brix Andersen 2006-03-14 13:48:49 UTC
Reopening.
Comment 4 Henrik Brix Andersen 2006-03-14 13:54:17 UTC
It's merely an example configuration file, not something you would want to copy and use as your own configuration file.

In later ebuilds, it is installed into /usr/share/doc/ to emphasize this.

*** This bug has been marked as a duplicate of 102361 ***
Comment 5 MAL 2006-03-15 07:39:18 UTC
It's not a acceptable example if it's wrong, is it?

Please fix the example to be compatible with the version of wpa_supplicant that gentoo installs.
Comment 6 Henrik Brix Andersen 2006-03-15 07:46:45 UTC
(In reply to comment #5)
> It's not a acceptable example if it's wrong, is it?

The example is not wrong, it just uses functionality which dynamically loads external libraries dynamically.

> Please fix the example to be compatible with the version of wpa_supplicant that
> gentoo installs.

It is compatible - but if you wish to use those engines, you will need to install them yourself. It's all in the documentation of the software.