Red Hat Bugzilla – Bug 178884
Login via gdm does not source /etc/profile
Last modified: 2007-11-30 17:11:22 EST
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):
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
Are you using bash?
If so, if you upgrade to the version of bash in rawhide does your problem go away?
Yes, login shell is bash.
Upgrade to bash-3.1-5 solved the problem.
Many thanks for the quick solution.