Bug 174355
Summary: | bash-completion cause GDM to not start session in Modular X | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Dickson <paul> | ||||
Component: | bash-completion | Assignee: | Ville Skyttä <scop> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | extras-qa | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 20050721-2.fc5 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-11-28 20:46:36 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: | |||||||
Attachments: |
|
Description
Paul Dickson
2005-11-28 12:32:11 UTC
Created attachment 121541 [details]
My $HOME/.profile
Reproduced. One way to debug stuff like this is to add eg. a "set -x" somewhere near the top of /etc/X11/gdm/Xsession, then try logging in, and while the gdm dialog about things going south is still visible, peek into /tmp/xses-$USERNAME.XXXXXX from a virtual terminal. Anyway, from debugging like in above, it seems it has something to do with the "readonly" stuff at top of /etc/bash_completion. When the session prematurely aborts (when sourcing it for the second time), the "set +v" at the top is the last thing run. I don't see anything wrong offhand with the code, but one potential workaround is to change this at the top of /etc/profile.d/bash_completion.sh: [ -z "$BASH_VERSION" ] && return ...to: [ -z "$BASH_VERSION" -o -n "$BASH_COMPLETION" ] && return I'm not sure if this is the best possible way around it but it seems to work for me. Could you try it out? Yes adding the ' -o -n "$BASH_COMPLETION"' works around the problem for me. Thanks, this workaround will be in 20050721-2.fc5. |