owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 663 forks source link

[Fedora 24], [Fedora 25] No keychain service available - add "libgnome-keyring"? #5703

Closed michaelstingl closed 7 years ago

michaelstingl commented 7 years ago

I installed ownCloud client 2.3.1 on pretty minimal Fedora Desktops:

fedora-workstation-netinst-x86_64-25-1_3

Expected behaviour

ownCloud client should install all necessary/recommended packages

Actual behaviour

Reading from keychain failed with error: 'No keychain service available'

Steps to reproduce

  1. Fedora-Workstation-netinst-x86_64-25-1.3.iso
  2. Software Selection: Minimal Install
  3. dnf -y group install base-x
  4. dnf -y install gnome-classic-session control-center gnome-terminal gnome-terminal-nautilus liberation-mono-fonts wget
  5. dnf config-manager --add-repo http://download.opensuse.org/repositories/isv:ownCloud:desktop/Fedora_25/isv:ownCloud:desktop.repo
  6. dnf install owncloud-client
  7. Configure account
  8. Quit ownCloud client and start again

Client configuration

Client version: 2.3.1

Operating system: Fedora 24, Fedora 25

OS language: EN

Qt version used by client package (Linux only, see also Settings dialog): Fedora 24: qt5-qtbase.x86_64 5.6.2-3.fc24 Fedora 25: qt5-qtbase.x86_64 5.7.1-14.fc25

Client package (From ownCloud or distro) (Linux only): https://software.opensuse.org/download/package?project=isv:ownCloud:desktop&package=owncloud-client

I had to install libgnome-keyring manually to fix this issue:

dnf -y install libgnome-keyring

@crrodriguez Should this be added to the ownCloud client dependencies?

SamuAlfageme commented 7 years ago

@michaelstingl which kind of minimal distro did you try? I have also experienced this with other distro-scenarios where it happens e.g. in the GUI-tests Dockerimage, based on an ubuntu pretty lightweight; I also needed to install D-Bus.

This could probably be extended to the rest of the distros if we want to provide a self-contained as possible client.

Edit: dbus is indeed included in deb-based distro packages. The issue I had was result of apt-get build-dep not including it.

michaelstingl commented 7 years ago

@SamuAlfageme I only did "Steps to reproduce" 1-4

guruz commented 7 years ago

@michaelstingl @jnweiger @crrodriguez Is this still to be done for 2.3.3? Or was it fixed with the recent changes by @jnweiger @dschmidt ?

jnweiger commented 7 years ago

I am hesitant to add hard requires for random packages. This increase the chance that owncloud-client cannot be installed due to one missing dependency.

For Fedora, I am adding now a Suggests: libgnome-keyring

Hope that is sufficient.