Bug 149709 - zsh doesn't source /etc/profile.d/*.sh
Summary: zsh doesn't source /etc/profile.d/*.sh
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: zsh
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Colin Walters
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-25 17:27 UTC by H.J. Lu
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version: zsh-4.2.0-3.EL
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-02 10:02:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description H.J. Lu 2005-02-25 17:27:10 UTC
[hjl@gnu-64 sharable]$ cat /etc/zprofile
#
# /etc/zprofile and ~/.zprofile are run for login shells
#

# all bourne shells should source /etc/profile


PATH="$PATH:$HOME/bin"
export PATH
[hjl@gnu-64 sharable]$ rpm -qf /etc/zprofile
zsh-4.0.7-1

A better one should look like

[hjl@gnu applied]$ rpm -qf /etc/zprofile
zsh-4.2.0-3
[hjl@gnu applied]$ cat /etc/zprofile
#
# /etc/zprofile and ~/.zprofile are run for login shells
#

PATH="$PATH:$HOME/bin"
export PATH

# source profile
if [ -f /etc/profile ]; then
        source /etc/profile
fi

Comment 1 H.J. Lu 2006-10-31 19:21:09 UTC
zsh-4.2.0-3.EL in EL4 U4 is OK. But I wasn't allowed to close this bug.

Comment 2 Daniel Qarras 2007-04-14 16:19:13 UTC
I can confirm that this is fixed in latest FC6/RHEL4.

Someone please close this one.


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