New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"No keychain service available" - 1.5.2, Gnome #1501
Comments
I'm got a similar problem... Fedora 20 using XFCE. The following is installed: I get prompted for my password on every launch of the ownCloud client. |
Further to this - it seems I have to reenter the password via the "Modify Account" option in the Windows client too. It seems like the password is not saved on reboot in Windows either... |
For security reason, we don't store the password anymore, and require the keychain to be properly configured. |
I think that we all understand this - however:
EDIT: As further to this, it seems Google Chrome uses the keychain without any problems. I can also see info from within Seahorse - leading me to believe that it is not a keychain problem (but I'll gladly be proved wrong!) |
Same here.
|
From within XFCE, I managed to fix this by going into Settings -> Session and Startup -> Advanced. Place a tick in the option "Launch GNOME services on startup". |
Seahorse is running, and, like @twouters, my GNOME_KEYRING_CONTROL environment variable is correctly set. No problem with other programs that use gnome-keyring, just with owncloud-client. |
I too get |
The keyring support appears to work with the latest head from the qtkeychain git, but not with the latest release (which is 0.1). |
@eigengrau That means we need to make sure to depend on our latest version of qtkeychain //cc @dragotin |
Ok, I added explicit version dependencies for libowncloudsync (on %{version}) and libqtkeychain (>= 0.20140128). That should solve it. Repository is isv:ownCloud:desktop |
Is the versioning on this consistent with other distributions? In Fedora 20, I see: I think more research is required before putting dependencies on X... I don't have a problem using Fedora 20 + XFCE after setting the option to start gnome services on login. |
Now we're causing problems again... Fedora has the packages qtkeychain. ie: yum list qtkeychain*Installed Packages These work. They have been working fine. Now you've added a dep on libqtkeychain - which is also present in your repos: yum list libqtkeychain*Available Packages Problem is, these two sets of packages conflict. When trying to upgrade, we get this: |
Futher, if you now try to install the client on Fedora 20, you get this: Package Arch Version Repository SizeInstalling: Transaction SummaryInstall 1 Package (+4 Dependent packages) Total size: 1.0 M Transaction check error: |
ok, now I understand. Fedora 19 and 20 have the qtkeychain package upstream. Ok, so I will disable our package for these platforms, hoping that upstream will stay up to date. For CentOS and RHEL no upstream package is available, right? |
@dragotin the question is wether upstreams packages are not too old. |
The latest official release is 0.1. This appears to be the one causing this bug. Upstream’s head is using 0.2 as the soname and also advertises itself as 0.2.0 in the installed cmake config. |
The stock Fedora 20 package for qtkeychain works as it should. EL6 (CentOS etc) does not have qtkeychain. |
I can not disable the packages because the OBS with which we build the Fedora packages does not know the upstream packages because they are only in Fedora Update. That's a pitty, but I see no other solution than obsoleting the upstream qtkeychain package by ours on Fedora 19 and 20. It's of cause bad behave from the packaging POV, but currently the only solution I see. Once the qtkeychain is more stable and we have a proper upstream release, this will go away. I checked the change in to isv:ownCloud:community:nightly, it would be good if it could be tested on Fedora (starting tomorrow). Thx. |
How about providing the required version of the library in the owncloud package? |
Before we get a little 'commit happy', what are we actually trying to fix here? I can confirm that all works correctly on Fedora 20 / XFCE without this interference with libqtkeychain versions. So, what situation are we trying to fix? I don't see much in the way of actual details as to the problem or any diagnosis of any type of fault..... |
Hi, as already written in #1495 (comment) this problem also affects users using the distro package from Debian/Ubuntu instead of the OBS packages as Debian/Ubuntu is also shipping libqtkeychain 0.1.0 without gnome-keyring support. |
The 1.5.3 version doesn't fix the problem for me on ArchLinux with Gnome 3.10
|
Installing a more recent version of QtKeychain will. That's out of scope for us, sorry. You can ask upstream to release a new version |
Is there any ETA of having the fixed dependencies for Fedora? As advised previously, Fedora has a working version of qtkeychain - the required one from the ownCloud repo conflicts with the one in Fedora... |
Thank you for your answer, but there only is one release of QtKeychain, and I don't think that a lot of distributions use the git version of qtkeychain. Don't you think it mights be good to target the actual QtKeychain release ? |
@Anthony25 Unfortunately, that's not possible. |
Ok thank you, I close the issue and will ask to the owncloud-client package maintainer for ArchLinux to add qtkeychain-git in the dependencies. |
No comment on the Fedora packages? o_O |
@CRCinAU, do you want me to reopen the issue ? |
@Anthony25 I'm not sure if this should be in the same bug report - or maybe a different one - however the change made because of this bug report causes the conflict with the default Fedora install. As such, I believe it may be better to keep it all in the one report. I'm happy for peoples opinions on this though! This is the situation with Fedora: Possible Solutions:
|
@dragotin Ping for comment? |
We should ask @frankosterfeld to make a release of qtkeychain |
@CRCinAU I added an That works here on Fedora 20. Please check again. |
Sounds good to me! |
@CRCinAU does it also work for you? :-) |
I installed libqtkeychain from git (v. 0.1.0.58.gc130727, git checked out right now) along with owncloud-client 1.5.3 under Xfce 4.10.1, Arch Linux and the issue persists. Any hints? |
Hi, you might want to checkout 0.3.0: https://github.com/frankosterfeld/qtkeychain/releases/tag/v0.3.0 instead of 0.1.0 which is known to not support gnome-keyring. |
Hi RealRancor, thanks for the hint! I'm a bit confused, is the master branch bumped to 0.3.0 state already, or is it not? Comparing the master branch with the 0.3.0 I see only cosmetic changes: frankosterfeld/qtkeychain@master...0.3 It looks to me as if the master branch already had all the changes of 0.3.0 besides of the right version number. |
@Photon89 |
Yep, this was the version, git reported it to be. So, in the end, the problem appears even with latest qtkeychain... |
Mhhh, then you might have a problem with your gnome-keychain setup / configuration as you're running XFCE and the needed services are probably just not started. |
Yes, because I am running on ArchLinux with gnome and the qtkeychain git version and it works well. |
@RealRancor , actually, this was most likely the problem. I checked a nice checkbox in the XFCE session settings: https://dl.dropboxusercontent.com/u/1507406/SessionandStartup_15-03-2014_19%3A34%3A19.png And afterwards I could use the gnome keyring to save the owncloud password. However, since I autologin into the X session, I still need to enter a password to unlock the keyring... So one password query has changed to another in my case. But I guess, now it's up to gnome keyring to disable the password query after autologin. This looks quite promising: http://nullroute.eu.org/~grawity/gnome-keyring-autologin.html Thanks for your support, everybody! |
In kubuntu, this is also broken. Could you just provide a way to get back the old, unsafe behaviour instead of saying every user has to use the git version of qtkeychain? Or make it work with the old one, which is obviously the default on almost every distribution. |
Hi, AFAIK the new version 1.5.3 is exactly using the old unsafe behavior. But as kubuntu is shipping the client 1.5.0 and this problem was first introduced in 1.5.2 you shouldn't see such an issue. |
@RealRancor No, 1.5.3 is not storing plaintext passwords. All we did/tried to do is adding an explict dependency on the newer qtkeychain 0.2.xxx (and now 0.3.0) package. |
Upps, sorry. Then i have misunderstood the changelog of the client 1.5.3. |
This issue has reappeared for me since updating from 1.5.3 to 1.5.4. I was running qtkeychain-git before, since this solved the issue for me previously. I now installed qtkeychain 0.3, which has been released in the meantime, but this too is giving me “No keychain service available” in conjunction with 1.5.4. |
Okay, apparently the problem was qtkeychain 0.3. I got owncloud client 1.5.4 to work by going back to qtkeychain-git, but now I’m on commit ga2437ac, which is tagged 0.3.0.9. So vanilla 0.3 doesn’t seem to work. |
Just to point those who come across this issue via Google into the right direction: I fixed it in Debian, running LXDE with
|
@mrbiber, thank's it worked in Fedora 20 | Gnome 3.12 |
I'm closing this issue. |
Hello,
Since the last upgrade (1.5.1->1.5.2), I saw that you use a keyswallet to save the password. On Gnome 3.10 on ArchLinux, it doesn't work on my 2 PC, owncloud is always asking me the password at startup.
This is the logfile at startup :
Seahorse is installed and works.
Thank you !
The text was updated successfully, but these errors were encountered: