Bug 188897 - test not builtin to tcsh
Summary: test not builtin to tcsh
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: coreutils
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-13 10:18 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHBA-2007-0474
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-06-11 18:54:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
coreutils-no-builtin-test-csh.patch (1015 bytes, patch)
2006-04-13 10:18 UTC, Bastien Nocera
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0474 0 normal SHIPPED_LIVE coreutils bug fix update 2007-06-07 22:35:57 UTC

Description Bastien Nocera 2006-04-13 10:18:54 UTC
coreutils-5.2.1-31.2 contains the colorls.csh profile script
(/etc/profile.d/colorls.csh) which uses "test".

However, test is not builtin to C shells (as opposed to bash) so a funky $PATH
could find a "test" binary somewhere else.

Better be safe and hard-code /usr/bin/test instead

Comment 1 Bastien Nocera 2006-04-13 10:18:55 UTC
Created attachment 127701 [details]
coreutils-no-builtin-test-csh.patch

Comment 2 Tim Waugh 2006-04-18 12:35:19 UTC
Better fix already in rawhide.

Comment 3 Tim Waugh 2006-08-09 10:43:20 UTC
Fixed in CVS.

Comment 11 Red Hat Bugzilla 2007-06-11 18:54:36 UTC
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.

http://rhn.redhat.com/errata/RHBA-2007-0474.html



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