[systemd-devel] [PATCH] Add SHELL environment variable

Evan Callicoat apsu at propter.net
Tue Sep 24 09:09:56 PDT 2013


On 09/24/2013 08:27 AM, Colin Walters wrote:
> On Mon, 2013-09-23 at 21:01 -0500, Evan Callicoat wrote:
> 
>> Ideally in the long-term, applications which rely on SHELL being set
>> should be fixed to just grab it from getpwnam() or similar,
>> but until that becomes more common, I propose this simple change to
>> make user sessions a little bit nicer out of the box.
> 
> Right; this is exactly the kind of thing that would be fixed by having
> logind run the PAM stack and pass the environment/state to systemd-user.
> 

Agreed. I just jumped in here and haven't caught up on all the recent
conversations, so apologies if this is a well-known discussion already.
Is the current plan to have logind run the PAM stack, or is it just an
idea waiting for traction? If it's imminent, no need to merge in my
proposed patch. Otherwise, I still think it'd be a good interim tweak.


More information about the systemd-devel mailing list