Description of problem: /etc/profile.d/modules.sh executes 'export -f'. This is a bash specific feature. I causes error in ksh when opening new ksh login shell, which runs /etc/profile which, in tern, runs all the /etc/profile.d/*.sh scripts. Version-Release number of selected component (if applicable): 3.2.7b-2.fc11 How reproducible: Steps to Reproduce: 1. Change shell to ksh 2. Open new login terminal 3. Actual results: -ksh: export: -f: unknown option Usage: export [-p] [name[=value]...] Expected results: <silence> Additional info:
environment-modules-3.2.7b-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/environment-modules-3.2.7b-3.fc12
environment-modules-3.2.7b-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/environment-modules-3.2.7b-3.fc11
environment-modules-3.2.7b-3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update environment-modules'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10598
environment-modules-3.2.7b-5.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update environment-modules'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10725
environment-modules-3.2.7b-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
Unfortunately, the fix makes that only a fixed set of shells is supported. If you use another sh-like shell, you get an error when you login since the shell will complain if the . (source) command can't find the file you're sourcing. It would be better if the file /etc/profile.d/modules.sh were to check whether the file it wants to source does in fact exist.
environment-modules-3.2.7b-5.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.