Bug 1089479 - qtkeychain does not work in Gnome 3.12
Summary: qtkeychain does not work in Gnome 3.12
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qtkeychain
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joseph Marrero
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-19 15:04 UTC by Michael Ekstrand
Modified: 2014-05-24 23:29 UTC (History)
1 user (show)

Fixed In Version: mirall-1.5.4-2.fc20
Clone Of:
Environment:
Last Closed: 2014-05-24 23:29:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch qtkeychain to use XDG_SESSION_DESKTOP env. var (586 bytes, patch)
2014-04-19 15:04 UTC, Michael Ekstrand
no flags Details | Diff

Description Michael Ekstrand 2014-04-19 15:04:31 UTC
Created attachment 887779 [details]
Patch qtkeychain to use XDG_SESSION_DESKTOP env. var

Description of problem:
qtkeychain does not work under Gnome 3.12; it cannot find the Gnome keyring service.  I have observed this on F20 with rhughes' Gnome 3.12 COPR; presumably it will affect Rawhide as well, in addition to a Gnome 3.12 update to F20.


Version-Release number of selected component (if applicable):
qtkeychain-0.3.0-1.fc20.x86_64


How reproducible:
Always


Steps to Reproduce:
1. Start `owncloud --logwindow` under Gnome 3.12
2. Observe the 'could not find keychain service' message

Actual results:
owncloud prompts for a password, the log window says it cannot find a keychain service.

Expected results:
owncloud uses the keychain service from Gnome to load its password.

Additional info:
qtkeychain uses a couple of keychain-related environment variables to detect whether it is running under Gnome and attempt to load the Gnome keyring module.  Gnome 3.12 no longer has these environment variables.

I have attached a patch that looks instead at the XDG_SESSION_DESKTOP variable.  SRPM avaialble here: http://elehack.net/pub/srpms/

Comment 1 Michael Ekstrand 2014-04-19 15:06:20 UTC
The qtkeychain Git repo seems to be updated to fix this, probably with a more correct patch: https://github.com/frankosterfeld/qtkeychain/commit/97d50f65d9362c1fc0cc03b1b3d6aafe5d14241b

Comment 2 Joseph Marrero 2014-04-24 03:22:46 UTC
I will update the package this weekend.
Thank you a lot for reporting

Comment 3 Fedora Update System 2014-05-04 06:48:39 UTC
qtkeychain-0.3.90-1.20140405git.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/qtkeychain-0.3.90-1.20140405git.fc20

Comment 4 Fedora Update System 2014-05-06 03:39:08 UTC
Package qtkeychain-0.3.90-1.20140405git.fc20, mirall-1.5.4-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing qtkeychain-0.3.90-1.20140405git.fc20 mirall-1.5.4-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6031/qtkeychain-0.3.90-1.20140405git.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-05-06 21:34:02 UTC
Package mirall-1.5.4-2.fc20, qtkeychain-0.3.90-2.20140405git.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mirall-1.5.4-2.fc20 qtkeychain-0.3.90-2.20140405git.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6031/mirall-1.5.4-2.fc20,qtkeychain-0.3.90-2.20140405git.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-05-24 23:29:52 UTC
mirall-1.5.4-2.fc20, qtkeychain-0.3.90-2.20140405git.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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