Bug#595906: gdm3: Can't log in when .gnomerc sources .bashrc

Josselin Mouette joss at debian.org
Tue Sep 7 13:26:53 UTC 2010


severity 595906 wishlist
tag 595906 wontfix
thanks	

Le mardi 07 septembre 2010 à 00:49 -0700, Bill Wohler a écrit :
> Package: gdm3
> Version: 2.30.2-4
> Severity: normal
> 
> I've had the following line in my .gnomerc for at least 10 years now to
> provide environment variables, especially PATH, to my X session:
> 
>   . ~/.bashrc

Well, don’t do that.

> This worked well until I installed squeeze this weekend. Once I copied
> my $HOME files from backup, I couldn't log in! I was getting all sorts
> of weird syntax errors in .xsession-errors. Turns out that these errors
> were caused by a link from /bin/sh to /bin/dash "for performance
> reasons."
> 
> I worked around this problem by running "dpkg-reconfigure dash" and
> saying No when asked to link sh to dash.
> 
> However, I think it might be better to provide a means to incorporate
> one's .bashrc instead when starting the X session. This mechanism might
> also be useful for users of other shells as well. Also, what would be
> the harm in changing the first line of /etc/gdm3/Xsession (assuming
> that's the right file) to read #!/bin/bash instead of #!/bin/sh?

And what do you suggest to do for those who wish to source
their .zshrc ?

*shrug*

-- 
 .''`.
: :' :     “You would need to ask a lawyer if you don't know
`. `'       that a handshake of course makes a valid contract.”
  `-        --  J???rg Schilling






More information about the pkg-gnome-maintainers mailing list