Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
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
Product: Red Hat Linux
Classification: Retired
Component: zsh (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Depends On:
  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:
Last Closed: 1999-09-18 17:18:51 EDT
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 Pekka Pietikäinen 1999-09-04 08:02:22 EDT
connecting (pp):~ >su
/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)

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.