From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.14-5.0 i686)
Description of problem:
The .cshrc included in the rootfiles rpm adds stuff to the front and back
of the PATH variable
each time a new shell is spawned. This causes PATH to get longer and
longer, with redundant elements at the front and back.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Under KDE, Log in as root with tcsh as the login shell.
2. Open a konsole and type "printenv PATH | wc -c"
3. Type "konsole &", and repeat step 2 in the resulting window.
4. Repeat steps 2 and 3 in each new window, and watch the length of PATH
Actual Results: Path grew longer in each spawned shell.
Expected Results: PATH should be constant.
The PATH-modifying statement in root's .cshrc should be removed, and
replaced with code
that first checks the path for directories before adding them. Or, even
better, this should be
done some place else, ideally setting PATH for regular users and PATH for
root in some central place independent of login shell.
Fixed in > 7.2-7.