Bug#428831: GDM does not parse /etc/profile for the PATH statement.

Sven Arvidsson sa at whiz.se
Sun Apr 13 15:20:35 UTC 2008


On Mon, 2007-06-18 at 06:20 -0600, Chris Dos wrote:
> >> It seems the GDM does not get it's PATH statement from /etc/profile, or pull the PATH 
> >> statement from .bash_profile when a WM is started.
> > 
> > AFAIK this is intentional. The PATH is inherited from /etc/login.defs.
> > The /etc/profile is a configuration file for bash, not for GDM.
>
> Thanks for the insight.  I could not find where the path was parsed.  It might be good to 
> add a comment in one of the GDM startup files specifying where the PATH statement is 
> parsed.  Thanks again.

/usr/share/gdm/defaults.conf does mention this:

# Default path to set.  The profile scripts will likely override this value.
DefaultPath=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

Would this be a good place to mention /etc/login.defs?

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080413/b09b90e5/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list