Bug 756951 - environment-modules is breaking system settings.
Summary: environment-modules is breaking system settings.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: environment-modules
Version: 16
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 757778 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-25 09:32 UTC by eyurtese
Modified: 2012-10-17 02:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-17 02:29:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description eyurtese 2011-11-25 09:32:31 UTC
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...

Comment 1 Orion Poplawski 2011-11-28 18:14:14 UTC
*** Bug 757778 has been marked as a duplicate of this bug. ***

Comment 2 Orion Poplawski 2011-11-28 18:19:18 UTC
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.

Comment 3 Orion Poplawski 2011-11-28 18:25:59 UTC
Also, I have determined the source of the MANPATH issue and alerted upstream.  I'm not sure of the best fix at the moment.

Comment 4 Orion Poplawski 2011-11-28 20:27:25 UTC
Nevermind, now that I try with the correct version I can reproduce.

yum -y downgrade environment-modules 

for now to fix.

Comment 5 Fedora Update System 2011-11-28 21:40:42 UTC
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

Comment 6 Fedora Update System 2011-11-28 21:40:50 UTC
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

Comment 7 Orion Poplawski 2011-11-28 21:50:32 UTC
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.

Comment 8 Fedora Update System 2011-11-30 01:54:16 UTC
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).


Note You need to log in before you can comment on or make changes to this bug.