Bug 895551 - module clear doesn't work
Summary: module clear doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: environment-modules
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-15 14:01 UTC by Jan Synacek
Modified: 2013-01-26 16:05 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-01-26 16:05:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
[Patch] fix module clear (397 bytes, patch)
2013-01-15 14:01 UTC, Jan Synacek
no flags Details | Diff

Description Jan Synacek 2013-01-15 14:01:48 UTC
Created attachment 678783 [details]
[Patch] fix module clear

Description of problem:
'module clear' doesn't clear loaded modules. It doesn't seem to do anything at all.


Version-Release number of selected component (if applicable):
environment-modules-3.2.10


How reproducible:
Always.


Steps to Reproduce:
1. module load <a module>
2. module list (see that it's loaded)
3. module clear
4. module list (see that nothing has changed, the module is still loaded)


Actual results:
Loaded modules are not cleared.


Expected results:
Loaded modules are cleared.


Additional info:
I'm not sure what the difference between 'module clear' and 'module purge' is supposed to be. Man pages aren't clear about it.

Comment 1 Orion Poplawski 2013-01-15 18:52:29 UTC
Thanks.  I forwarded this on to the modules list.  clear makes modules think that no modules are loaded, but doesn't "unload" them.  purge unloads them (undoing the changes they made).

Comment 2 Fedora Update System 2013-01-15 19:23:03 UTC
environment-modules-3.2.10-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/environment-modules-3.2.10-2.fc18

Comment 3 Fedora Update System 2013-01-18 20:47:13 UTC
Package environment-modules-3.2.10-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 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.10-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-0964/environment-modules-3.2.10-2.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-01-26 16:05:15 UTC
environment-modules-3.2.10-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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