Description of problem: environment-modules-3.2.6-5.fc9.x86_64 uses /etc/profile.d/modules.sh file for intialisation. When I logon from the graphic console the file is processed (variables like MODULESHOME or MODULEPATH are set) but the line: module() { eval `/usr/bin/modulecmd sh $*`; } doesn't define this function. When using the "module" command I get "command not found" If I use bash it is working (the alias is set) If I logon with ssh from a remote host and use ksh it is working (the alias is set) If I manualy process the /etc/profile.d/modules.sh it is working. Version-Release number of selected component (if applicable): environment-modules-3.2.6-5.fc9.x86_64 Linux 2.6.26.5-45.fc9.x86_64 #1 SMP How reproducible: Always Steps to Reproduce: 1. set your login shel to /bin/ksh 2. logon from graphic console 3. try the "module avail" command (it's not working) 4. . /etc/profile.d/modules.sh 5. try the "module avail" command (it's OK) Actual results: Expected results: Additional info:
it's fixed now: in F9 since ksh-20080202-2.fc9 in Rawhide since ksh-20080725-4.fc10 kshrc has been added to /etc/ and .kshrc to /etc/skel Path is set via ${HOME}/.kshrc (sourcing /etc/kshrc) = only for new users. If you don't have your own .kshrc file in home directory, you can use one from /etc/skel
ksh-20080202-2.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/ksh-20080202-2.fc9
ksh-20080202-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.