SV: SV: compatibility issue in environment-modules version 4.1.1-1

Gösta Ljungdahl gosta.ljungdahl at foi.se
Mon May 6 16:31:29 UTC 2019


Yes, Mint uses LightDM so I will do what you suggest and get back with the result.


/Gösta


________________________________
Från: Gunnar Hjalmarsson <gunnarhj at ubuntu.com>
Skickat: den 6 maj 2019 11:58
Till: Gösta Ljungdahl; Ubuntu Developers
Ämne: Re: SV: compatibility issue in environment-modules version 4.1.1-1

On 2019-05-06 09:36, Gösta Ljungdahl wrote:
> On 2019-05-05 22:35, Gunnar Hjalmarsson wrote:
>> From a quick look at the code in environment-modules I see that it
>> seems to test for the BASH_VERSION variable. That makes me think of
>> this change of LightDM:
>>
>> https://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/2168/debian/lightdm-session
>>
>> which was made in response to:
>>
>> https://launchpad.net/bugs/1482641
>>
>> Can this possibly be a reason for the confusion you have observed?
> > All I really know is that at some point in the initialization process
> dash comes into play and is not equal to the task. I know this
> because the initialization works as expected if I change /bin/sh to
> point to /bin/bash.

Right. But it could be useful to know what happens if you

1. Change the /bin/sh symlink back to point to dash, and

2. (assuming that MINT uses LightDM) edit /usr/sbin/lightdm-session and
    change the line

     BASH_VERSION= . "$CONFIG_FILE" 2>"$ERR"

    to

     . "$CONFIG_FILE" 2>"$ERR"

--
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20190506/b68857a1/attachment.html>


More information about the Ubuntu-devel-discuss mailing list