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

2019-05-14 Thread Gösta Ljungdahl
-Ursprungligt meddelande- Från: Gunnar Hjalmarsson [mailto:gunna...@ubuntu.com] Ämne: Re: compatibility issue in environment-modules version 4.1.1-1 When reading that I think: If variables are defined at initialization, which are needed later on, why not simply turn them from pure

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

2019-05-13 Thread Gunnar Hjalmarsson
On 2019-05-13 09:22, Gösta Ljungdahl wrote: -Ursprungligt meddelande- Från: Gunnar Hjalmarsson [mailto:gunna...@ubuntu.com] Ämne: Re: compatibility issue in environment-modules version 4.1.1-1 When reading that I think: If variables are defined at initialization, which are needed later

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

2019-05-12 Thread Gösta Ljungdahl
h if it is already defined. Cheers, Gösta Från: Gunnar Hjalmarsson Skickat: den 8 maj 2019 15:36:28 Till: Gösta Ljungdahl; ubuntu-devel-discuss@lists.ubuntu.com Ämne: Re: SV: compatibility issue in environment-modules version 4.1.1-1 On 2019-05-08 14:07, Gösta Ljungdahl wrote: >

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

2019-05-12 Thread Gunnar Hjalmarsson
Thanks for getting back. On 2019-05-12 13:02, Gösta Ljungdahl wrote: In short: Xavier reproduced my issue in both Mint 19 and Ubuntu 18.04 virtual machines. His analysis show that the environment module code stays on track and there is nothing that he can do to amend the code regarding

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

2019-05-08 Thread Gösta Ljungdahl
, Gösta Från: Gösta Ljungdahl Skickat: den 8 maj 2019 11:26:29 Till: Gunnar Hjalmarsson; ubuntu-devel-discuss@lists.ubuntu.com Ämne: SV: compatibility issue in environment-modules version 4.1.1-1 Hi, Gunnar! No. I doubt that modules.sh is a Debian invention. A file

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

2019-05-08 Thread Gösta Ljungdahl
stro package which I will presently do. Hopefully, in the not too distant future things will improve. Cheers, Gösta Från: Gunnar Hjalmarsson Skickat: den 8 maj 2019 02:40:38 Till: Gösta Ljungdahl; ubuntu-devel-discuss@lists.ubuntu.com Ämne: Re: compatibility issue in

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

2019-05-08 Thread Gunnar Hjalmarsson
On 2019-05-08 14:07, Gösta Ljungdahl wrote: Hi, Gunnar, Tested editing /etc/profile.d/modules.sh to source /usr/share/modules/init/bash by default i.e. commented out the line . /usr/share/modules/init/sh and put in . /usr/share/modules/init/bash but it was not sufficient. Apparently dash

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

2019-05-07 Thread Gunnar Hjalmarsson
Hi again, Gösta! I do not know how environment-modules is thought to work, but I did a small test to figure out the starting point with sourcing the /etc/profile.d/modules.sh file. The first line in that file reads: shell=$(/usr/bin/basename $(/bin/ps -p $$ -ocomm=)) I put that line in a

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

2019-05-07 Thread Gösta Ljungdahl
Yes, Mint uses LightDM so I will do what you suggest and get back with the result. /Gösta Från: Gunnar Hjalmarsson 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

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

2019-05-07 Thread Gösta Ljungdahl
ö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

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

2019-05-06 Thread Gösta Ljungdahl
Ämne: Re: compatibility issue in environment-modules version 4.1.1-1 On 2019-05-05 21:38, Josefsson-Ljungdahl wrote: > Den sön 5 maj 2019 kl 21:26 skrev Gunnar Hjalmarsson > mailto:gunna...@ubuntu.com>>: >> Ubuntu does that as well, at least when GDM or LightDM is use

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

2019-05-06 Thread Gunnar Hjalmarsson
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:

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

2019-05-05 Thread Josefsson-Ljungdahl
Den sön 5 maj 2019 kl 21:26 skrev Gunnar Hjalmarsson : > Ubuntu does that as well, at least when GDM or LightDM is used. Maybe > worth mentioning that the scripts in the Ubuntu versions of those DMs > are run as bash processes. (That was changed a few years ago; previously > they were run as

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

2019-05-05 Thread Josefsson-Ljungdahl
Hi Robie, Seeing that you have attached a signature it would help if you could point me to your public key. You can find mine at public key-servers. The fingerprint is: 57AA BFB8 727A 2506 47CC CB90 2D23 4815 7026 0357. Look for gos...@foi.se or perhaps some part or all of dsa1024/70260357. Ok,

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

2019-05-05 Thread Gunnar Hjalmarsson
On 2019-05-05 21:38, Josefsson-Ljungdahl wrote: Den sön 5 maj 2019 kl 21:26 skrev Gunnar Hjalmarsson mailto:gunna...@ubuntu.com>>: Ubuntu does that as well, at least when GDM or LightDM is used. Maybe worth mentioning that the scripts in the Ubuntu versions of those DMs are run as bash

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

2019-05-05 Thread Gunnar Hjalmarsson
On 2019-05-04 15:49, Josefsson-Ljungdahl wrote: I do not know if Ubuntu sources /etc/profile during graphical login but Mint does. Ubuntu does that as well, at least when GDM or LightDM is used. Maybe worth mentioning that the scripts in the Ubuntu versions of those DMs are run as bash

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

2019-05-05 Thread Robie Basak
On Sun, May 05, 2019 at 08:21:29PM +0200, Josefsson-Ljungdahl wrote: > Seeing that you have attached a signature it would help if you could point > me to your public key. You can find mine at public key-servers. The > fingerprint is: 57AA BFB8 727A 2506 47CC CB90 2D23 4815 7026 0357. Look > for

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

2019-05-05 Thread Robie Basak
Hi, I would start by making sure a good quality bug report exists against the Ubuntu package, and if relevant, the Debian package. It would help if you could report in that bug if the problem is fixed in the latest version of the package in Debian, and which releases of Ubuntu are affected. Then

compatibility issue in environment-modules version 4.1.1-1

2019-05-05 Thread Josefsson-Ljungdahl
Hi. I wish to report an issue regarding environment-modules version 4.1.1-1 in universe/devel. I run Linux Min 19 but this issue lies with Ubuntu. It's not really a bug, more of a compatibility problem. According to the files in the package this software is meant to be initialised during login