Red Hat Bugzilla – Bug 242732
"HOSTNAME: Undefined variable." and "Faulty alias 'precmd' removed."
Last modified: 2015-03-04 20:18:48 EST
Description of problem:
setup-2.6.6-1.fc8 introduces a new default precmd (as part of resolving bug
#199817), but that alias depends on the "HOSTNAME" environment variable being
set, which doesn't always happen.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ssh -t rawhidebox screen -R
HOSTNAME: Undefined variable.
Faulty alias 'precmd' removed.
We probably want to check that the terminal is of a type which can even handle
this control sequence before setting it, too, as is done in /etc/bashrc.
Oh, duh. I should have mentioned somewhere that this change was made in
/etc/csh.cshrc, so it's only visible to users who use tcsh.
Urgs, good catch. I just took a look at the way we do it in bashrc and will
adapt the cshrc changes to match those again, too. The next setup package will
contain a fix.
Read ya, Phil
The new package doesn't appear to have made it out yet.