QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
541 stars 48 forks source link

[linux-agent] Remove gnome-keyring dependency and drop-in files #2710

Open ptitdoc opened 7 years ago

ptitdoc commented 7 years ago

Qubes OS version (e.g., R3.2):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

All


Expected behavior:

General notes:

See dicussion in https://github.com/QubesOS/qubes-issues/issues/2351

Related issues:

https://github.com/QubesOS/qubes-issues/issues/2351 https://github.com/QubesOS/qubes-issues/issues/1962

ptitdoc commented 7 years ago

Concerning the documentation, if gnome-keyring is installed and automatically started, the easiest thing to make it working is to create the file /etc/profile.d/ssh-agent.sh: export SSH_AUTH_SOCK=/run/user/1000/keyring/ssh

3hhh commented 5 years ago

nm-applet also has a runtime dependency on it, cf. #4521

jpouellet commented 5 years ago

@3hhh it's not clear to me that nm-applet actually requires gnome-keyring. It appears that polkit may be the culprit instead. My fedora-minimal sys-net seems to work fine without gnome-keyring, but needs polkit or else I get:

(nm-applet:19808): nm-applet-WARNING **: 17:24:56.716: disconnect_cb: Device disconnect failed: (1) org.freedesktop.NetworkManager.network-control request failed: not authorized

whenever I try to manipulate my wireless card via the applet.

See also: https://github.com/QubesOS/qubes-doc/pull/756

3hhh commented 5 years ago

Good news: Debian buster apparently removed several dependencies (incl. the chromium and nm-applet dependencies on gnome-keyring), i.e. it should be possible to safely remove it now.

Cf. #4970