Bug 2166670
| Summary: | Change MODULEPATH in a module can trigger errors | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Ward <wpoely86> |
| Component: | Lmod | Assignee: | Orion Poplawski <orion> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel8 | CC: | jeff.backus, orion |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Lmod-8.7.19-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-02-12 01:02:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
FEDORA-EPEL-2023-111ad32c1c has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-111ad32c1c FEDORA-EPEL-2023-111ad32c1c has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-111ad32c1c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Can the update also be pushed to EPEL 9? FEDORA-EPEL-2023-111ad32c1c has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: Trying to change the MODULEPATH inside a module can lead to errors of the kind: /usr/share/lmod/lmod/libexec/ModuleA.lua:581: attempt to index field '?' (a nil value) Module code: pushenv("MODULEPATH", '/some/path') prepend_path("MODULEPATH", '/another/path') Version-Release number of selected component (if applicable): 8.7.6 How reproducible: Just try to load a module file with the above code. I've tried the latest Lmod (version 8.7.19) and there it works as expected. Could we upgrade the EPEL version to 8.7.19? Then we also gets some other fixes I'm keen on having ( https://github.com/TACC/Lmod/issues/613 ).