[Bug 1549903] Re: Environment modules no longer works in non-interactive login shell
[Expired for modules (Ubuntu) because there has been no activity for 60 days.] ** Changed in: modules (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1549903 Title: Environment modules no longer works in non-interactive login shell To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/modules/+bug/1549903/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1549903] Re: Environment modules no longer works in non-interactive login shell
Need to know the login shell targeted by this issue. ** Changed in: modules (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1549903 Title: Environment modules no longer works in non-interactive login shell To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/modules/+bug/1549903/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1549903] Re: Environment modules no longer works in non-interactive login shell
This issue depends on the way non-interactive shell session initialization is configured on the system. New Modules releases force ENV and BASH_ENV variables to make shells source /etc/profile.d/modules.sh to get module shell function defined. But not all shells react to that. Here are some tests made on Ubuntu 18.04: $ cat test.sh module -V $ module -V Modules Release 4.1.1 (2018-02-17) $ bash test.sh Modules Release 4.1.1 (2018-02-17) $ sh test.sh test.sh: 2: test.sh: module: not found $ zsh test.sh test.sh:2: command not found: module To go further on this issue targeted shells should be expressed. We may also look at what changed on Ubuntu 16.04 regarding shell non- interactive initialization. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1549903 Title: Environment modules no longer works in non-interactive login shell To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/modules/+bug/1549903/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1549903] Re: Environment modules no longer works in non-interactive login shell
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: modules (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1549903 Title: Environment modules no longer works in non-interactive login shell To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/modules/+bug/1549903/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs