Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 813253

Summary: nm-connection-editor: ask gnome-keyring for credential asynchronously and pop error when g-k does not respond
Product: Red Hat Enterprise Linux 6 Reporter: David Jaša <djasa>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3CC: tbzatek, tpelka
Target Milestone: rc   
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-04 13:45:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
backtrace none

Description David Jaša 2012-04-17 10:30:54 UTC
Created attachment 577986 [details]
backtrace

Description of problem:
nm-connection-editor freezes at various occasions. This particular one is right after hitting "OK" when creating VPN connection

Version-Release number of selected component (if applicable):
NetworkManager-gnome-0.8.1-29.el6.x86_64

How reproducible:
often

Steps to Reproduce:
1. create a new vpn connection
2.
3.
  
Actual results:
nm-connection-editor freezes

Expected results:


Additional info:

Comment 1 David Jaša 2012-04-17 10:48:56 UTC
The report itself is essentially a dupe of these:
https://bugzilla.redhat.com/show_bug.cgi?id=574449
https://bugzilla.redhat.com/show_bug.cgi?id=767096

but it should be fixed in nm-c-e too, because g-k is a separate component and relying on it too much is against principles of robustness.

Comment 2 Tomáš Bžatek 2012-04-17 11:38:55 UTC
(In reply to comment #1)
> but it should be fixed in nm-c-e too, because g-k is a separate component and
> relying on it too much is against principles of robustness.

NetworkManager should do gnome-keyring calls async at a first place.

Comment 3 Dan Williams 2012-04-19 23:25:55 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > but it should be fixed in nm-c-e too, because g-k is a separate component and
> > relying on it too much is against principles of robustness.
> 
> NetworkManager should do gnome-keyring calls async at a first place.

It should, and it does now with NM 0.9 and later due to a rewrite of those areas.  Unfortunately it's a lot harder to make the functions async in the old code, and backporting doesn't work because it's been entirely rewritten.

But here, while making the calls async would paper over things, the core problem is actually a bug in the gnome-keyring libraries that got fixed later than RHEL6.  Even if we made the calls async we'd still have the keyring issue.  IIRC this happened in Fedora for a while too, not just with NetworkManager.  It eventually got fixed and the problem went away, long before the applet/editor rewrite that made the keyring calls async.

Comment 4 Suzanne Logcher 2012-05-18 20:54:27 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 Tomáš Bžatek 2012-10-04 13:45:25 UTC
(In reply to comment #3)
> It should, and it does now with NM 0.9 and later due to a rewrite of those
> areas.  Unfortunately it's a lot harder to make the functions async in the
> old code, and backporting doesn't work because it's been entirely rewritten.

Sure, no need to break a whole lot of code in a stable release.

Closing this bugreport since the core issue in gnome-keyring-daemon has been fixed (bug 574449).