Bug#208424: marked as done (gdm: GDM stomps my PATH)
Debian Bug Tracking System
owner@bugs.debian.org
Tue, 08 Feb 2005 12:33:29 -0800
Your message dated Tue, 8 Feb 2005 21:22:15 +0100
with message-id <20050208202215.GA22138@argos.server.maison>
and subject line Bug #208424 - gdm: GDM stomps my PATH
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Sep 2003 20:08:34 +0000
>From jbrandmeyer@earthlink.net Tue Sep 02 15:08:32 2003
Return-path: <jbrandmeyer@earthlink.net>
Received: from hawk.mail.pas.earthlink.net [207.217.120.22]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 19uHS0-0002gr-00; Tue, 02 Sep 2003 15:08:32 -0500
Received: from user-0c8h2fa.cable.mindspring.com ([24.136.137.234] helo=illuvatar)
by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)
id 19uHRx-0007YB-00; Tue, 02 Sep 2003 13:08:25 -0700
Received: from jonathan by illuvatar with local (Exim 3.36 #1 (Debian))
id 19uHRv-0000Sm-00; Tue, 02 Sep 2003 16:08:23 -0400
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jonathan Brandmeyer <jbrandmeyer@earthlink.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gdm: GDM stomps my PATH
X-Mailer: reportbug 2.26.1
Date: Tue, 02 Sep 2003 16:08:23 -0400
Message-Id: <E19uHRv-0000Sm-00@illuvatar>
Sender: Jonathan Brandmeyer <jonathan@illuvatar>
X-BadReturnPath: jonathan@illuvatar rewritten as jbrandmeyer@earthlink.net
using "From" header
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0
tests=BAYES_10,HAS_PACKAGE
version=2.53-bugs.debian.org_2003_8_27
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 (1.174.2.15-2003-03-30-exp)
Package: gdm
Version: 2.4.1.6-1
Severity: normal
The recent upgrade of gdm fails to recognize my PATH as set in
/etc/login.defs. The correct PATH for my system is
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
However, gdm ignores that and sets something completely different. In
particular, /usr/local/bin is placed behind /usr/bin on the new path.
This problem is corrected by uncommenting lines 39-41 in
/etc/X11/gdm/Sessions/Gnome.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux illuvatar 2.4.21-4-686 #1 Sat Aug 2 23:27:25 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages gdm depends on:
ii adduser 3.51 Add and remove users and groups
ii bonobo-activation 1:2.2.4-1 Bonobo Activation Framework
ii debconf 1.3.12 Debian configuration management sy
ii dpkg 1.10.10 Package maintenance system for Deb
ii libart-2.0-2 2.3.14-2 Library of functions for 2D graphi
ii libatk1.0-0 1.2.4-1 The ATK accessibility toolkit
ii libaudiofile0 0.2.3-4 The Audiofile Library
ii libbonobo-activation4 1:2.2.4-1 Bonobo Activation Framework -- run
ii libbonobo2-0 2.2.3-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.2.4-1 The Bonobo UI library
ii libc6 2.3.2-4 GNU C Library: Shared libraries an
ii libesd0 0.2.29-1 Enlightened Sound Daemon - Shared
ii libgconf2-4 2.2.1-1 GNOME configuration database syste
ii libgcrypt1 1.1.12-3 LGPL Crypto library - runtime libr
ii libglade2-0 2.0.1-5 Library to load .glade files at ru
ii libglib2.0-0 2.2.2-1 The GLib library of C routines
ii libgnome2-0 2.2.3-2 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.2.1-2 A powerful object-oriented display
ii libgnomeui-0 2.2.2-2 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.2.5-3 The GNOME virtual file-system libr
ii libgnomevfs2-common 2.2.5-3 The GNOME virtual file-system libr
ii libgnutls7 0.8.9-2 GNU TLS library - runtime library
ii libgtk2.0-0 2.2.2-3 The GTK+ graphical user interface
ii libjpeg62 6b-8 The Independent JPEG Group's JPEG
ii liblinc1 2:1.0.3-3 library to simplify creating netwo
ii liborbit2 1:2.6.3-2 Libraries for ORBit2 - a CORBA ORB
ii libpam-modules 0.76-13.1 Pluggable Authentication Modules f
ii libpam-runtime 0.76-13.1 Runtime support for the PAM librar
ii libpam0g 0.76-13.1 Pluggable Authentication Modules l
ii libpango1.0-0 1.2.3-1 Layout and rendering of internatio
ii libpopt0 1.7-2 lib for parsing cmdline parameters
ii librsvg2-2 2.2.5-1 SAX-based renderer library for SVG
ii libtasn1-0 0.1.2-1 Manage ASN.1 structures (runtime)
ii libwrap0 7.6-ipv6.1-3 Wietse Venema's TCP wrappers libra
ii libxml2 2.5.10-1 GNOME XML library
ii xlibs 4.2.1-11 X Window System client libraries
ii zlib1g 1:1.1.4-14 compression library - runtime
-- debconf information:
gdm/greeter: standard
gdm/daemon_name: /usr/bin/gdm
* shared/default-x-display-manager: gdm
---------------------------------------
Received: (at 208424-done) by bugs.debian.org; 8 Feb 2005 20:22:47 +0000
>From prahal@wanadoo.fr Tue Feb 08 12:22:47 2005
Return-path: <prahal@wanadoo.fr>
Received: from smtp11.wanadoo.fr [193.252.22.31]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Cybsl-0004cQ-00; Tue, 08 Feb 2005 12:22:47 -0800
Received: from me-wanadoo.net (localhost [127.0.0.1])
by mwinf1103.wanadoo.fr (SMTP Server) with ESMTP id F23911C00099
for <208424-done@bugs.debian.org>; Tue, 8 Feb 2005 21:22:15 +0100 (CET)
Received: from argos.server.maison (AToulouse-152-1-24-35.w82-125.abo.wanadoo.fr [82.125.22.35])
by mwinf1103.wanadoo.fr (SMTP Server) with ESMTP id C5AF11C0008A
for <208424-done@bugs.debian.org>; Tue, 8 Feb 2005 21:22:15 +0100 (CET)
X-ME-UUID: 20050208202215809.C5AF11C0008A@mwinf1103.wanadoo.fr
Received: from prahal by argos.server.maison with local (Exim 4.44)
id 1CybsF-0006JV-Ji
for 208424-done@bugs.debian.org; Tue, 08 Feb 2005 21:22:15 +0100
Date: Tue, 8 Feb 2005 21:22:15 +0100
From: browaeys.alban@wanadoo.fr
To: 208424-done@bugs.debian.org
Subject: Re: Bug #208424 - gdm: GDM stomps my PATH
Message-ID: <20050208202215.GA22138@argos.server.maison>
Reply-To: browaeys.alban@wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: browaeys.alban@wanadoo.fr
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 208424-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-1.4 required=4.0 tests=BAYES_00,NO_REAL_NAME
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
This is a followup for
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=208424
Gdm 2.6 now use /usr/share/xsessions and /etc/X11/Xsessions.d to manage
sessions.
The use of /etc/login.defs seems to have been a hack that have
been removed (it is for the "login" program only).
I find trace of it in bug reports for gdm 2.4. Maybe it is still
used but in all case this is not the place to setup the xsession
environment (be it gdm, kdm ...).
/etc/environment, PreSession dir for gdm , or adding a script
/etc/X11/Xsession.d are better bet.
http://www.jirka.org/gdm-documentation/x241.html "The Script Directories"
Feel free to reopen or ask this to be reopened if your problem
remains.
Cheers
Alban
PS: login.defs PATH definitions are not used in debian. The shell
profile files overwrite them. YOu should not worry about
maintening them up to date. /etc/profile and /etc/environment
are usually enough, /etc/X11/Xsession.d filling remaining needs.