Bug 115531 - Automatic variable HOSTTYPE is "unknown" on x86_64
Automatic variable HOSTTYPE is "unknown" on x86_64
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: tcsh (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
Bill Huang
Depends On:
Blocks: 178252 187539
  Show dependency treegraph
Reported: 2004-02-13 05:41 EST by Göran Uddeborg
Modified: 2010-04-06 06:19 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2006-0218
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-22 12:04:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Göran Uddeborg 2004-02-13 05:41:53 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922

Description of problem:
Tcsh automatically sets the environent variable "HOSTTYPE" to "a
symbolic name for the type of computer that it is running on".  The
x86_64 version of tcsh sets this to "unknown".

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. tcsh -c 'echo $HOSTTYPE'

Actual Results:  unknown

Expected Results:  x86_64, or something like amd64
Comment 1 Miloslav Trmač 2004-08-23 12:01:16 EDT
For x86_64 fixed in rawhide tcsh-6.13-2, still needs fixing
for other RHEL architectures though.
Comment 2 Miloslav Trmač 2004-09-15 12:52:12 EDT
Fixed in tcsh-6.13-8, which should appear in rawhide after FC3t2.
Comment 3 Bastien Nocera 2005-11-04 06:42:11 EST
$MACHTYPE has the same problem.
Reopening as the problem isn't fixed on RHEL3 itself.
Comment 4 Miloslav Trmač 2005-11-04 07:19:53 EST
Changing $HOSTTYPE and $MACHTYPE could break existing scripts, I don't think it is
safe to change the values in RHEL3.
Comment 5 David Mair 2005-12-07 18:20:47 EST
Re-opening this.  Not fixing this is causing scripts to break between x86 and
x86_64 for customers.
Comment 13 Red Hat Bugzilla 2006-03-22 12:04:50 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

Comment 15 Kevin Parkes 2006-06-08 09:24:30 EDT
This solution is not working for me. 
The tcsh-6.12-13.EL3.x86_64.rpm isn't available for X86-64 systems via up2date
and the advisory doesn't include links to an altrnative sorce for the rpm. 
Comment 16 Miloslav Trmač 2006-06-08 10:36:05 EDT
The updated package should be available in the fast-track channel, you may need
to subscribe to it in RHN.

It will be published in the standard channel in the next update release.

Note You need to log in before you can comment on or make changes to this bug.