If we use bash, scripts in /etc/profile.d are interpretted during login procedure. But for tcsh (or csh) every time shell is invoked. Solution: rename /etc/csh.cshrc to /etc/csh.login Nothing other is affected by this change. Just both shells should do job the same way.
We have various problems with software that uses this to set-up shell environment when somebody uses tcsh or csh especially when it need to something print out during login procedure. This bug cause for example that users can't use scp. I reported already this bug for RH5.2 but not via Bugzilla system.
assigned to jbj This could be a hairy one - renaming a config file and making sure we transport the changes over...
Fixed in setup-2.0.5-1. Please note that modified /etc/csh.cshrc should be saved by rpm as /etc/csh.cshrc.rpmsave and that those modifications should be put into /etc/csh.login now.