From: <no...@so...> - 2002-07-27 20:42:51
|
Bugs item #557781, was opened at 2002-05-18 15:01 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=465044&aid=557781&group_id=51915 Category: env-switcher functionality Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Jeff Squyres (jsquyres) Assigned to: Jeff Squyres (jsquyres) >Summary: "module unload switcher" doesn't work Initial Comment: The command: module unload switcher gives unexpected errors. ---------------------------------------------------------------------- Comment By: Jeff Squyres (jsquyres) Date: 2002-07-27 13:42 Message: Logged In: YES user_id=11722 This appeared to be because the switcher bindir was removed from the PATH before trying to execute "switcher --show-exec" in the switcher modulefile. This was bad (and therefore corrected) for multiple reasons: - it would be executed even when we did "module unload switcher", which is unnecessary, because we don't need to load modules when we're *unloading* the switcher module - MDK >= 8.2 is stupid in that root's .bashrc doesn't allow the PATH to be edited by /etc/profile.d scripts. So it was fixed by: - if "module unload switcher" is used, all modules loaded by switcher will be unloaded first - modules will only be loaded if we're not unloading the switcher module - the RPM makes a sym link to /bin/switcher so that MDK >= 8.2 will always be able to find the switcher executable. This sucks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=465044&aid=557781&group_id=51915 |