Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

7.48. environment-modules

Updated environment-modules packages that fix several bugs are now available for Red Hat Enterprise Linux 6.
The environment-modules packages provide for the dynamic modification of a user's environment using modulefiles. Each modulefile contains the information needed to configure the shell for an application. Once the package is initialized, the environment can be modified on a per-module basis using the module command which interprets modulefiles.


The environment-modules package has been upgraded to upstream version 3.2.9c, which provides a number of bug fixes over the previous version. (BZ#765630)

Bug Fixes

Due to an error in the Tcl library, some allocated pointers were invalidated inside the library. Consequently, running the "module switch" command in the tcsh shell led to a segmentation fault. The bug has been fixed and the system memory is now allocated and pointed to correctly.
Previously, the /usr/share/Modules/modulefiles/modules file contained an incorrect path. Consequently, an error occurred when the "module load modules" command was executed. With this update, the incorrect path has been replaced and the described error no longer occurs.
All users of environment-modules are advised to upgrade to these updated packages, which fix these bugs.