Bug 440083 - /etc/profile.d/alc_env.csh assumes MANPATH is preset
Summary: /etc/profile.d/alc_env.csh assumes MANPATH is preset
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: alliance
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Chitlesh GOORAH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-01 17:32 UTC by Jussi Eloranta
Modified: 2008-07-26 06:08 UTC (History)
0 users

Fixed In Version: 5.0-15.20070718snap.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-29 02:36:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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