Bug 440083

Summary: /etc/profile.d/alc_env.csh assumes MANPATH is preset
Product: [Fedora] Fedora Reporter: Jussi Eloranta <eloranta>
Component: allianceAssignee: Chitlesh GOORAH <chitlesh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0-15.20070718snap.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-29 02:36:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jussi Eloranta 2008-04-01 17:32:54 UTC
Description of problem:

With

alliance.x86_64                          5.0-10.20070718snap.fc installed       
alliance.i386                            5.0-10.20070718snap.fc installed  

installed, I get the following message when I login (tcsh as login shell):

MANPATH: Undefined variable.

and my .tcshrc does not get executed when I login. The problem lies in
/etc/profile.d/alc_env.csh which assumes that MANPATH is preset. This script
attempts to add a directory to MANPATH but fails because MANPATH was not set.
One should add a test there to see if MANPATH is already set or not.
This is the line in question:

  setenv MANPATH "${MANPATH}:${ALLIANCE_TOP}/man"

Perhaps, instead:

if ($?MANPATH) then
  setenv MANPATH "${MANPATH}:${ALLIANCE_TOP}/man"
else
  setenv MANPATH "${ALLIANCE_TOP}/man"
endif

Comment 1 Fedora Update System 2008-05-26 21:52:32 UTC
alliance-5.0-15.20070718snap.fc7 has been submitted as an update for Fedora 7

Comment 2 Fedora Update System 2008-05-26 21:53:35 UTC
alliance-5.0-15.20070718snap.fc8 has been submitted as an update for Fedora 8

Comment 3 Fedora Update System 2008-05-26 21:54:53 UTC
alliance-5.0-15.20070718snap.fc9 has been submitted as an update for Fedora 9

Comment 4 Fedora Update System 2008-05-29 02:36:23 UTC
alliance-5.0-15.20070718snap.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2008-05-29 02:45:32 UTC
alliance-5.0-15.20070718snap.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2008-07-26 06:08:39 UTC
alliance-5.0-15.20070718snap.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.