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

2010-09-07 Thread Josselin Mouette
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




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2010-09-07 Thread Bill Wohler
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

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?

Thanks!


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (90, 'testing'), (80, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gdm3 depends on:
ii  adduser 3.112add and remove users and groups
ii  debconf [debconf-2.0]   1.5.35   Debian configuration management sy
ii  gconf2  2.28.1-3 GNOME configuration database syste
ii  gnome-session [x-sessio 2.30.2-1 The GNOME Session Manager - GNOME 
ii  gnome-session-bin   2.30.2-1 The GNOME Session Manager - Minima
ii  gnome-terminal [x-termi 2.30.2-1 The GNOME terminal emulator applic
ii  libart-2.0-22.3.21-1 Library of functions for 2D graphi
ii  libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii  libattr11:2.4.44-2   Extended attribute shared library
ii  libaudit0   1.7.13-1+b2  Dynamic library for security audit
ii  libbonobo2-02.24.3-1 Bonobo CORBA interfaces library
ii  libbonoboui2-0  2.24.3-1 The Bonobo UI library
ii  libc6   2.11.2-2 Embedded GNU C Library: Shared lib
ii  libcairo2   1.8.10-5 The Cairo 2D vector graphics libra
ii  libcanberra-gtk00.24-1   Gtk+ helper for playing widget eve
ii  libcanberra00.24-1   a simple abstract interface for pl
ii  libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii  libdbus-glib-1-20.88-2   simple interprocess messaging syst
ii  libdevkit-power-gobject 1:0.9.5-1+b1 abstraction for power management -
ii  libfontconfig1  2.8.0-2.1generic font configuration library
ii  libfreetype62.4.2-1  FreeType 2 font engine, shared lib
ii  libgconf2-4 2.28.1-3 GNOME configuration database syste
ii  libglib2.0-02.24.1-1 The GLib library of C routines
ii  libgnome2-0 2.30.0-1 The GNOME library - runtime files
ii  libgnomecanvas2-0   2.30.1-1 A powerful object-oriented display
ii  libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface 
ii  liborbit2   1:2.14.18-0.1libraries for ORBit2 - a CORBA ORB
ii  libpam-modules  1.1.1-4  Pluggable Authentication Modules f
ii  libpam-runtime  1.1.1-4  Runtime support for the PAM librar
ii  libpam0g1.1.1-4  Pluggable Authentication Modules l
ii  libpanel-applet2-0  2.30.2-1 library for GNOME Panel applets
ii  libpango1.0-0   1.28.1-1 Layout and rendering of internatio
ii  libpolkit-gobject-1-0   0.96-2   PolicyKit Authorization API
ii  libpolkit-gtk-1-0   0.96-2   PolicyKit GTK+ API
ii  libpopt01.16-1   lib for parsing cmdline parameters
ii  librsvg2-common 2.26.3-1 SAX-based renderer library for SVG
ii  libselinux1 2.0.96-1 SELinux runtime shared libraries
ii  libwrap07.6.q-19 Wietse Venema's TCP wrappers libra
ii  libx11-62:1.3.3-3X11 client-side library
ii  libxau6 1:1.0.6-1X11 authorisation library
ii  libxdmcp6   1:1.0.3-2X11 Display Manager Control Protoc
ii  libxklavier16   5.0-2X Keyboard Extension high-level AP
ii  libxml2 2.7.7.dfsg-4 GNOME XML library
ii  lsb-base3.2-23.1 Linux Standard Base 3.2 init scrip
ii  metacity [x-window-mana 1:2.30.1-2   lightweight GTK+ window manager
ii  policykit-1-gnome   0.96-2   GNOME authentication agent for Pol
ii  twm [x-window-manager]  1:1.0.4-2Tab window manager