Bug 4904 - default /etc/zshenv doesn't find grep in zsh-3.0.5-13
default /etc/zshenv doesn't find grep in zsh-3.0.5-13
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: zsh (Show other bugs)
6.1
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-09-04 08:02 EDT by Pekka Pietikäinen
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-09-18 17:18:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pekka Pietikäinen 1999-09-04 08:02:22 EDT
connecting (pp):~ >su
Password:
/etc/zshenv: command not found: grep [16]
/etc/zshenv: command not found: grep [17]

The problem is caused by zshenv having

if [ `id -u` -eq 0 ]; then
  path=(/sbin /usr/sbin)
fi

in it and after that trying to use grep (which is in /bin).
Comment 1 David Lawrence 1999-09-18 17:18:59 EDT
Fixed in zsh-3.0.5-14

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