Red Hat Bugzilla – Bug 124866
konsole: choosing 'new root console' does not run /etc/profile
Last modified: 2008-08-02 19:40:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5)
Description of problem:
So, the title says it all actually. However, is it a bug
or a 'Working As Designed'? (Can you tell I have been working
with IBM ;-)
Actually, /etc/profile is never run, try any:
'New Linux Console'
'New Root Console'
'New Screen Session'
I do not pretend to understand the fine differences between the
Here's the easiest way to test this:
Add this to /etc/profile
date > /tmp/profilerun.$$
Then you can 'echo $$' in your bash and check whether the
file with the correct processnumber has been created.
Maybe this is related to this bug:
...but again, GUI/terminal/shell interactions are currently out
of my league.
I noticed this because I do root-specific setup in /etc/profile,
if [ `id -u` = 0 ]; then
...and the root's path did not include these.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add date > /tmp/profilerun.$$ to /etc/profile
2. Open another shell using konsole
3. Check whether profilerun.$$ exists
Actual Results: /etc/profile has not bee run
Expected Results: /etc/profile should have been run (IMHO)
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
Closed per above message and lack of response. Note that FC2 is not even
supported by Fedora Legacy currently.