bash completion prevents X login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubuntu-dev-tools
Not sure if this is a bug in ubuntu-dev-tools, bash, bash-completion, elsewhere or even no bug at all.
Today I restarted my karmic computer after several days and failed to log in to X. ~/.xsession-errors pointed to an error in /etc/bash_
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_
. /etc/bash_
fi
which I commented out and was then able to log in to X, without bash_completion, of course.
~/.xsession-errors is now overwritten, but if necessary, I can provide the exact error message. You should be able to reproduce the problem easily, though, I assume.
Here is what is in .xsession-errors after such a failure
/etc/gdm/Xsession: Beginning session setup... completion. d/pbuilder- dist: line 32: `_pbuilder-dist': not a valid identifier
/etc/bash_
I tried reinstalling ubuntu-dev-tools a couple of times, but that didn't help. /etc/bash_ completion. d/pbuilder- dist is what's shipped in karmic.