[pkg-gnupg-maint] Dropping GSM_SKIP_SSH_AGENT_WORKAROUND workaround in systemd socket scripts

rufo rufo at rufoa.com
Sat Feb 1 16:54:21 GMT 2025


Hi dkg, all,


```
> # See the below link for why we need GSM_SKIP_SSH_AGENT_WORKAROUND:
> #
> https://git.gnome.org/browse/gnome-session/tree/gnome-session/main.c?h=3.24.0#n419
> # in order to avoid race condition this environment should be set before
> SSH_AUTH_SOCK
> ExecStartPre=systemctl --user set-environment
> GSM_SKIP_SSH_AGENT_WORKAROUND="true"
> ```
>
> The link above doesn't say anything about GSM_SKIP_SSH_AGENT_WORKAROUND.
>
>
It did at the time (looks like gnome's gitlab redirect has subtly broken
the link by omitting the h param).

The line referenced was this:
https://gitlab.gnome.org/GNOME/gnome-session/-/blob/3.24.0/gnome-session/main.c?ref_type=tags#L419

introduced in this commit:
https://gitlab.gnome.org/GNOME/gnome-session/-/commit/a8896ccad65583885735a04205351f48a42f29ae

and as you say, the proper fix was then included in 3.25.3, and
GSM_SKIP_SSH_AGENT_WORKAROUND became unnecessary once we started shipping
versions newer than this.


so i think this is safe to remove.
>

I agree!  Thank you for following up on this.


    -- rufo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnupg-maint/attachments/20250201/4610582f/attachment.htm>


More information about the pkg-gnupg-maint mailing list