Red Hat Bugzilla – Bug 62058
Environment variables in /etc/profile not loaded
Last modified: 2007-04-18 12:41:14 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
After upgrading a 7.2 install, the previously defined environment variables
in /etc/profile no longer are loaded into the environment. I can even manually
execute the script after changing the permissions to execute and the parameters
still do not load. I have to cat the file to the monitor and copy and paste
the export statements to the command line for them to work. If copy only the
relevant portions of /etc/profile into a separate file, the same issue remains.
The first time I started up skipjack, I logged in as root, noticed that the
variables were not loaded, logged out, logged in as a non-root account, still
did not see the variables, logged out, and logged in as root and suddenly saw
the variables loaded. I have not been able to repeat this sequence since.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Login and look for environment variables in /etc/profile
2. Variables are not setup
Actual Results: No changes defined in /etc/profile or moved to a different
script are loaded into the environment.
Expected Results: Environment variables exported in /etc/profile should be
loaded during login process.
How are you logging in?
The problem occurs with KDE but not when I bypass X (Ctrl-Alt-F2) and login
directly to the machine.
This item appears to be corrected with the updates available via up2date on
Yes, this was caused by bad kdm settings.