[xcat-user] xcat.csh - MANPATH: Undefined variable
Aaron Knister
aaron.knister at gmail.com
Fri May 22 09:33:51 MDT 2009
The profile.d/xcat.*sh scripts seem to come from a postscript in the
xCAT-client rpm. My thought is to actually include these two scripts in the
rpm itself maybe as %config lines in the rpm spec. One advantage to this is
an rpm -qf /etc/profile.d/xcat.*sh would show you which rpm these files came
from (it took me a while to track down). Does this route sound OK? If it
does I'll hapily create the required patches.
On Mon, May 18, 2009 at 3:55 PM, Aaron Knister <aaron.knister at gmail.com>wrote:
> No problem! I'll get a patch to you soon
>
> On May 18, 2009, at 8:18 AM, Lissa Valletta wrote:
>
> Sorry, it slipped through the cracks with the other work we were doing.
> Please send the suggested changes again, and I will put them in the next
> update to 2.2.
>
> Lissa K. Valletta
> 414/3-8
> Poughkeepsie, NY 12601
> (tie 293) 433-3102
>
>
> <graycol.gif>Aaron Knister <aaron.knister at gmail.com>
>
>
>
> *Aaron Knister <aaron.knister at gmail.com>*
> Sent by: xcat-user-bounces at lists.xcat.org
>
> 05/15/2009 04:39 PM
> Please respond to
> xCAT Users Mailing list <xcat-user at lists.xcat.org>
>
> <ecblank.gif>
> To
> <ecblank.gif>
> xCAT Users Mailing list <xcat-user at lists.xcat.org>
> <ecblank.gif>
> cc
> <ecblank.gif>
> <ecblank.gif>
> Subject
> <ecblank.gif>
> Re: [xcat-user] xcat.csh - MANPATH: Undefined variable
> <ecblank.gif><ecblank.gif>
> xCAT was just updated on my system to 2.2.1 and the patches for MANPATH
> weren't there :( xcat runs on my head node so this trips up my users any
> time there's an update. Would somebody mind checking into this?
>
> On Fri, Apr 17, 2009 at 6:31 PM, Aaron Knister <*aaron.knister at gmail.com*<aaron.knister at gmail.com>>
> wrote:
>
> Thank you for the response! There's also another problem I just
> discovered. Out of the box, the manpaths that are set by the xcat.csh and
> xcat.sh scripts do not contain a trailing : which apparently prevents the
> searching of the system man paths in the man.conf. I've attached 2 patches -
> one for the csh script (including the earlier patch) and one for the sh
> script that contain a trailing : on the manpaths set. Could these be
> included for the next release?
>
> Thank you!
>
>
> On Fri, Apr 17, 2009 at 1:01 PM, Lissa Valletta <*lissav at us.ibm.com*<lissav at us.ibm.com>>
> wrote:
>
> Seems good, will pass by review and then put it in 2.2
>
> Lissa K. Valletta
> 414/3-8
> Poughkeepsie, NY 12601
> (tie 293) 433-3102
>
>
>
> *Aaron Knister <**aaron.knister at gmail.com* <aaron.knister at gmail.com>*>
> *
> Sent by: *xcat-user-bounces at lists.xcat.org*<xcat-user-bounces at lists.xcat.org>
>
> 04/17/2009 12:15 PM
>
>
> Please respond to
> xCAT Users Mailing list <*xcat-user at lists.xcat.org*<xcat-user at lists.xcat.org>
> >
> To
> xCAT Users Mailing list <*xcat-user at lists.xcat.org*<xcat-user at lists.xcat.org>
> > cc
> <ecblank.gif>
> Subject
> [xcat-user] xcat.csh - MANPATH: Undefined variable
> <ecblank.gif><ecblank.gif>
>
>
> I've found an issue with the xcat.csh file in /etc/profile.d. The line
> which sets the MANPATH for xcat references MANPATH in the value which if
> isn't set in the users environment when the xcat.csh script is run produces
> the following error - MANPATH: Undefined variable. The fix is seemingly easy
> - check to see if MANPATH is already set before referencing it in the
> MANPATH value. I've attached a proposed patch and am wondering if somebody
> could apply it before the next build is released - assuming the patch is
> acceptable.
>
>
> _______________________________________________
> xcat-user mailing list*
> **xcat-user at lists.xcat.org* <xcat-user at lists.xcat.org>*
> **http://www.xcat.org/mailman/listinfo/xcat-user*<http://www.xcat.org/mailman/listinfo/xcat-user>
>
>
> _______________________________________________
> xcat-user mailing list*
> **xcat-user at lists.xcat.org* <xcat-user at lists.xcat.org>*
> **http://www.xcat.org/mailman/listinfo/xcat-user*<http://www.xcat.org/mailman/listinfo/xcat-user>
>
>
> _______________________________________________
> xcat-user mailing list
> xcat-user at lists.xcat.org
> http://www.xcat.org/mailman/listinfo/xcat-user
>
> _______________________________________________
> xcat-user mailing list
> xcat-user at lists.xcat.org
> http://www.xcat.org/mailman/listinfo/xcat-user
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.xcat.org/pipermail/xcat-user/attachments/20090522/83caa95c/attachment.htm
More information about the xcat-user
mailing list