GNU bug report logs - #22514
Missing environment variables when logging in via SSH

Previous Next

Package: guix;

Reported by: myglc2 <myglc2 <at> gmail.com>

Date: Mon, 1 Feb 2016 04:44:01 UTC

Severity: normal

Merged with 22175

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#22175: closed (/etc/environment not honored by lshd)
Date: Wed, 03 Feb 2016 10:25:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 03 Feb 2016 11:24:48 +0100
with message-id <87lh72um4v.fsf <at> gnu.org>
and subject line Re: bug#22514: emacs INFO pages have "?"s instead of "'"s
has caused the debbugs.gnu.org bug report #22514,
regarding /etc/environment not honored by lshd
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
22514: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22514
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guix <at> gnu.org
Cc: lsh-bugs <at> lists.lysator.liu.se, iyzsong <at> member.fsf.org
Subject: /etc/environment not honored by lshd
Date: Tue, 15 Dec 2015 09:02:51 +0100
Hello!

Somehow /etc/environment isn’t honored when logging in via SSH to an
lshd server running on GuixSD, despite the fact that /etc/pam.d/lshd has
this:

--8<---------------cut here---------------start------------->8---
account required pam_unix.so 
auth required pam_unix.so 
password required pam_unix.so sha512 shadow
session required pam_env.so 
session required pam_unix.so 
--8<---------------cut here---------------end--------------->8---

Ludo’.


[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: myglc2 <myglc2 <at> gmail.com>
Cc: 22514-done <at> debbugs.gnu.org
Subject: Re: bug#22514: emacs INFO pages have "?"s instead of "'"s
Date: Wed, 03 Feb 2016 11:24:48 +0100
myglc2 <myglc2 <at> gmail.com> skribis:

> ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> retitle 22514 Missing environment variables when logging in via SSH
>> merge 22513 22175
>> thanks
>>
>> myglc2 <myglc2 <at> gmail.com> skribis:
>>
>>> In emacs INFO pages, single quotes "'" appear as question marks "?" and
>>> 'echo $LANG' returns a blank line.
>>>
>>> I am running guixSD on a headless server & logging in via the iTerm2
>>> terminal emulator running on Max OS X... e.g. 'ssh' & 'emacs -nw'
>>
>> This bug is due to <http://bugs.gnu.org/22175>, which appears to be
>> fixed by the patch below (I tested it in a VM.)
>>
>> Could you confirm that it works for you?
>
> Yes, that fixes it here. Thank you.

Great, thanks for testing!

Pushed as 2a5f0db, closing the bug now.

Ludo’.


This bug report was last modified 9 years and 110 days ago.

Previous Next


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