Bug 737043
Summary: | Module load/unload drops /bin from PATH | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Machata <pmachata> |
Component: | environment-modules | Assignee: | Orion Poplawski <orion> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | mnewsome, orion, susi.lehtola |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | environment-modules-3.2.8a-3.fc16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-10-09 19:51:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Petr Machata
2011-09-09 12:49:55 UTC
Cutting down to reasonable reproducer has been unsuccessful, but annotating the boost spec works reasonably well: http://koji.fedoraproject.org/koji/getfile?taskID=3339014&name=build.log The lines of interest are '+ echo ---'. In particular (edited to fit): # This is for serial build. Why mpich2 is in PATH I don't know. + /usr/lib/mpich2/bin:/usr/sbin:/usr/bin:/sbin:/bin:[...] + /usr/lib/mpich2/bin:/usr/sbin:/usr/bin:/sbin:/bin:[...] # This is for openMPI build + /usr/lib/openmpi/bin:/usr/lib/mpich2/bin:/usr/sbin:/usr/bin:/sbin:/bin:[...] + /usr/lib/openmpi/bin:/usr/lib/mpich2/bin:/usr/sbin:/usr/bin:/sbin:/bin:[...] + /usr/lib/openmpi/bin:/usr/lib/mpich2/bin:/usr/sbin:/usr/bin:/sbin:/bin:[...] # openMPI unload took place here. /bin is gone, /sbin too, /usr/bin stays + /usr/lib/mpich2/bin:/usr/sbin:/usr/bin:/usr/local/sroot/bin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin So the bug seems to be either in openMPI unload module, or in the module loading harness itself. *** Bug 728187 has been marked as a duplicate of this bug. *** (In reply to comment #1) > # This is for serial build. Why mpich2 is in PATH I don't know. > + /usr/lib/mpich2/bin:/usr/sbin:/usr/bin:/sbin:/bin:[...] > + /usr/lib/mpich2/bin:/usr/sbin:/usr/bin:/sbin:/bin:[...] See bug #647147. This is intentional misbehavior on behalf of the mpich2 maintainer. I've just asked the FPC to clarify the MPI guidelines on this regard. I've found an overlapping strcpy() call in Remove_Path() that is likely the source of this. New build submitted: http://koji.fedoraproject.org/koji/taskinfo?taskID=3371315. When that is completed and a new rawhide repo is done, please try building against that. If that helps I'll submit updates. GROMACS now builds in rawhide. Please build and tag in F16 buildroot as well. environment-modules-3.2.8a-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/environment-modules-3.2.8a-3.fc16 Could you do the buildroot tag? Submitted. Package environment-modules-3.2.8a-3.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.8a-3.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/environment-modules-3.2.8a-3.fc16 then log in and leave karma (feedback). environment-modules-3.2.8a-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |