<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p>Yes, Mint uses LightDM so I will do what you suggest and get back with the result.
<br>
</p>
<p><br>
</p>
<p>/Gösta<br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Från:</b> Gunnar Hjalmarsson <gunnarhj@ubuntu.com><br>
<b>Skickat:</b> den 6 maj 2019 11:58<br>
<b>Till:</b> Gösta Ljungdahl; Ubuntu Developers<br>
<b>Ämne:</b> Re: SV: compatibility issue in environment-modules version 4.1.1-1</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 2019-05-06 09:36, Gösta Ljungdahl wrote:<br>
> On 2019-05-05 22:35, Gunnar Hjalmarsson wrote:<br>
>> From a quick look at the code in environment-modules I see that it<br>
>> seems to test for the BASH_VERSION variable. That makes me think of<br>
>> this change of LightDM:<br>
>> <br>
>> <a href="https://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/2168/debian/lightdm-session" id="LPlnk913962" previewremoved="true">
https://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/revision/2168/debian/lightdm-session</a>
<br>
>> <br>
>> which was made in response to:<br>
>> <br>
>> <a href="https://launchpad.net/bugs/1482641" id="LPlnk465840" previewremoved="true">
https://launchpad.net/bugs/1482641</a><br>
>> <br>
>> Can this possibly be a reason for the confusion you have observed?<br>
> > All I really know is that at some point in the initialization process<br>
> dash comes into play and is not equal to the task. I know this<br>
> because the initialization works as expected if I change /bin/sh to<br>
> point to /bin/bash.<br>
<br>
Right. But it could be useful to know what happens if you<br>
<br>
1. Change the /bin/sh symlink back to point to dash, and<br>
<br>
2. (assuming that MINT uses LightDM) edit /usr/sbin/lightdm-session and<br>
change the line<br>
<br>
BASH_VERSION= . "$CONFIG_FILE" 2>"$ERR"<br>
<br>
to<br>
<br>
. "$CONFIG_FILE" 2>"$ERR"<br>
<br>
-- <br>
Gunnar Hjalmarsson<br>
<a href="https://launchpad.net/~gunnarhj" id="LPlnk337955" previewremoved="true">https://launchpad.net/~gunnarhj</a><br>
</div>
</span></font></div>
</div>
</body>
</html>