After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751041 - NMClient should use NSS_InitContext to initialize NSS
NMClient should use NSS_InitContext to initialize NSS
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-06-16 13:09 UTC by Ray Strode [halfline]
Modified: 2020-11-12 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ray Strode [halfline] 2015-06-16 13:09:16 UTC
See discussion on bug 751040.

Basically, NMClient now initializes NSS as part of nm_client_new_async().  It does this using the non-library-friendly NSS_NoDB_Init call.  This breaks the smartcard plugin in gnome-settings-daemon because the sharing plugin calls nm_client_new_async() before the smartcard plugin can initialize NSS.  the smartcard plugin needs the secmod database, so NSS_NoDB_Init breaks the smartcard plugin.

NMClient should use NSS_InitContext() instead of NSS_NoDB_Init() since the latter isn't a noop when called more than once, and it's designed to be used from within libraries.
Comment 1 André Klapper 2020-11-12 14:25:41 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).