Bug 178884 - Login via gdm does not source /etc/profile
Summary: Login via gdm does not source /etc/profile
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: 5
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2006-01-25 06:56 UTC by Mirko Streckenbach
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-01-26 06:57:46 UTC

Attachments (Terms of Use)

Description Mirko Streckenbach 2006-01-25 06:56:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5

Description of problem:
If a user logs in via gdm, /etc/profile does not seem to be parsed.
It gets parsed if the user logs in on a tty.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. login via gdm
2. start an xterm or gnome-terminal

Actual Results:  variables defined in the various /etc/profile.d/* scripts are NOT set.
E.g. /usr/kerberos/bin is missing from PATH if you have krb5-workstation installed.

This does not happen if you login in on a tty.

Expected Results:  the environment defined by /etc/profile should be sourced on a login via gdm

Additional info:

Comment 1 Ray Strode [halfline] 2006-01-25 15:59:52 UTC
Are you using bash?

If so, if you upgrade to the version of bash in rawhide does your problem go away?

Comment 2 Mirko Streckenbach 2006-01-26 06:57:46 UTC
Yes, login shell is bash.

Upgrade to bash-3.1-5 solved the problem.

Many thanks for the quick solution.

Note You need to log in before you can comment on or make changes to this bug.