I recently had to install mpich2 which includes the environment-modules package. However after installation, things started to go wrong... 1- First of all, my default shell was csh/tcsh and environment-modules installed a program called modulecmd and this was getting stuck (I found it using 8GB and increasing amount of memory) after I login, obviously I could never reach to command line. 2- I changed my shell to bash for fixing the 1st problem. However, what I found out was that none of the man pages worked anymore. Some investigation resulted in the MANPATH being overwritten and the only thing remained in it was path to mpich2 man pages location. I am not sure what else might be broken with this at this point. But there seems to be things going wrong...
*** Bug 757778 has been marked as a duplicate of this bug. ***
I can't reproduce the module load infinite loop on my machines. What is the output of "module avail" on your machines? Does the problem go away if any modules are removed? If either of you can do a 'debuginfo-install environment-modules' and try to step the modulecmd program through gdb that would be great.
Also, I have determined the source of the MANPATH issue and alerted upstream. I'm not sure of the best fix at the moment.
Nevermind, now that I try with the correct version I can reproduce. yum -y downgrade environment-modules for now to fix.
environment-modules-3.2.9b-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/environment-modules-3.2.9b-2.fc16
environment-modules-3.2.9b-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/environment-modules-3.2.9b-2.fc15
Unfortunately this wont fix the MANPATH issue, but should fix the load hang. The MANPATH is going to need to wait for upstream to fix I think.
Package environment-modules-3.2.9b-2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing environment-modules-3.2.9b-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16572/environment-modules-3.2.9b-2.fc16 then log in and leave karma (feedback).