FS#65484 - Missing dependencies for nextcloud-client -> Login after every reboot.

Attached to Project: Community Packages
Opened by Nico (nico) - Thursday, 13 February 2020, 14:22 GMT
Last edited by freswa (frederik) - Friday, 14 February 2020, 13:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Chih-Hsuan Yen (yan12125)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Login after every reboot necessary.
For the nextcloud-client to be able to store the login information/granted access it seems to be necessary to also install the "gnome-keyring", "libsecret" package. Maybe also "libgnome-keyring".

I set up a freshly install of Arch Linux with i3-wm. On every reboot I had to login/grant access again for the nexcloud-client.

I found this bug report which suggested to install "libgnome-keyring" and editing the "/etc/pam.d/login":
https://github.com/nextcloud/desktop/issues/1292#issuecomment-583214709

I've already had "libgnome-keyring" installed so I installed the newer "gnome-keyring" package and edited the "/etc/pam.d/login" as suggested in the shown bugreport.

The login after reboot was no longer necessary.

Afterwards I reverted my changes in the "/etc/pam.d/login" and it still works correctly.

So i think i narrowed it down to these three packages
"gnome-keyring", "libsecret", "libgnome-keyring" which should also be included in the dependencies of the "nextcloud-client" package.


Additional info:
* package version(s): nextcloud-client 2.6.2-1

This task depends upon

Closed by  freswa (frederik)
Friday, 14 February 2020, 13:16 GMT
Reason for closing:  Not a bug
Additional comments about closing:  There is already a transitive optdepend on gnome-keyring etc.
Comment by freswa (frederik) - Thursday, 13 February 2020, 14:27 GMT
We should add an optdepend to libsecret.
Comment by Chih-Hsuan Yen (yan12125) - Friday, 14 February 2020, 01:13 GMT
Hi, thanks for this ticket. However, technically libsecret/gnome-keyring/... should not be a dependency of nextcloud-client. The latter does not use libsecret/gnome-keyring/... directly. Instead, it acquires account-specific access tokens via qtkeychain, and community/qtkeychain already lists kwallet, libgnome-keyring and libsecret as optional dependencies.

Indeed such complex dependecies are confusing. I added some tips to https://wiki.archlinux.org/index.php/Nextcloud#Desktop for clarification.

Note that libgnome-keyring is deprecated. If you want to use gnome-keyring, libsecret is enough.

Loading...