GNU bug report logs - #27620
systemd environment SSH_AUTH_SOCK in emacs.service

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Sat, 8 Jul 2017 15:45:02 UTC

Severity: minor

Tags: fixed

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 27620 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 27620 <at> debbugs.gnu.org
Subject: Re: bug#27620: systemd environment SSH_AUTH_SOCK in emacs.service
Date: Sun, 21 Jul 2019 17:12:45 +0200
Alex Branham <alex.branham <at> gmail.com> writes:

> The systemd service file "etc/emacs.service" sets the environmental
> variable SSH_AUTH_SOCK to "%t/keyring/ssh", which won't work for all
> users. I think that's a GNOME-specific thing, maybe?
>
> In any case, it overwrites values of SSH_AUTH_SOCK that the user
> actually sets (in ~/.pam_environment, for example).
>
> Would it be possible to remove that Environment line from the
> emacs.service file?

I've now commented it out on the Emacs trunk, and added a comment saying
why.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 310 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.