The bug is marked rejected because nobody reopened it, doing that now. That doesn't really look like a gdm bug though, the /etc/gdm/Xsession instructions work fine with sh. The /etc/profile file is loaded, it sources bash.bashrc only if PS1 and BASH are set, is that the case when gdm is starting?
** Changed in: gdm (Ubuntu) Status: Rejected => Unconfirmed -- "shopt" xsession error upon login https://launchpad.net/bugs/60079 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs