Bug 530770
Summary: | environment-modules.i686 0:3.2.7b-4.fc12 breaks (at least) gdm | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bruno Wolff III <bruno> |
Component: | environment-modules | Assignee: | Orion Poplawski <orion> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | dakingun, james, jfrieben, mclasen, orion |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 3.2.7b-5.fc11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-10-26 17:53:44 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: | |||
Bug Depends On: | |||
Bug Blocks: | 473303 |
Description
Bruno Wolff III
2009-10-24 21:31:24 UTC
Me too :). environment-modules-3.2.7b-4.fc12 was supposed to fix Bug 529745 (which it did), but with a rather huge negative impact. So, any idea what the actual problem is? This is my thought for a fix, but I'm not sure what the real cause is. shell=`/bin/basename \`/bin/ps -p $$ -ocomm=\`` [ -f /usr/share/Modules/init/$shell ] && . /usr/share/Modules/init/$shell Ah, interesting, /usr/sbin/gdm is a script and it sources the profile.d directory. Here is my suggested fix: shell=`/bin/basename \`/bin/ps -p $$ -ocomm=\`` if [ -f /usr/share/Modules/init/$shell ] then . /usr/share/Modules/init/$shell else . /usr/share/Modules/init/sh fi I didn't try to figure out what actually broke things. I was just happy I figured out which package broke graphical logins. I see there is a new build. I'll report back in a few minutes whether or not it solved the problem I was seeing. environment-modules-3.2.7b-5.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/environment-modules-3.2.7b-5.fc11 environment-modules-3.2.7b-5.fc12.x86_64 fixed the problem with gdm. *** Bug 530967 has been marked as a duplicate of this bug. *** *** Bug 531195 has been marked as a duplicate of this bug. *** 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. |