[SunRay-Users] utselect bug?

Craig Bender Craig.Bender at Sun.COM
Wed Jan 24 13:22:13 EET 2007


That's for CAM tuning.  I'll put a disclaimer up not to do this under 
non-CAM sessions.  I didn't realize that it broke NSCM.

Quayle, Bill wrote:
> Actually, I dropped the "R".
> 
> I also followed the advice found on another SunRay blog, and applied a "tuning fix"
> to utprodinfo that broke it.  (http://blogs.sun.com/ThinkThin/date/20061121)
> 
> All's well, sorry for the noise...
> 
> -Bill
> 
> 
> -----Original Message-----
> From: sunray-users-bounces at filibeto.org on behalf of Craig Bender
> Sent: Wed 1/24/2007 11:58 AM
> To: SunRay-Users mailing list
> Subject: Re: [SunRay-Users] utselect bug?
>  
> I just checked a couple of my machines and there seems to be a R missing 
> from the variable you show:
> 
> SUNWUTETC=${SUNWUTR}/etc/opt/SUNWut
> 
> with SUNWUTR being set like this:
> 
> SUNWUTR=$(/etc/opt/SUNWut/basedir/lib/utprodinfo -r SUNWutr)
> 
> I wonder how the R got dropped from both?
> 
> This expands to "/"
> 
> Making SUNWUTETC default to /etc/opt/SUNWut
> 
> Bill Quayle wrote:
>> Sorry if this has been brought up already...
>>
>> In /opt/SUNWut/bin/utselect there is a variable set as:
>>
>>  "SUNWUTETC=${SUNWUT}/etc/opt/SUNWut"
>>
>> $SUNWUT is:
>>
>>  "$(/etc/opt/SUNWut/basedir/lib/utprodinfo -r SUNWuto)/SUNWut"
>>
>> which, in our case, points to /opt/SUNWut.
>>
>> This sets SUNWUTETC=/opt/SUNWut/etc/opt/SUNWut, which doen't exist.
>> This results in the variable "remote" being undefined, and the script
>> bailing out at line 209 because $remote is unquoted in a test.
>>
>> Cheers,
>>
>> Bill Quayle
>>
>> _______________________________________________
>> SunRay-Users mailing list
>> SunRay-Users at filibeto.org
>> http://www.filibeto.org/mailman/listinfo/sunray-users
> _______________________________________________
> SunRay-Users mailing list
> SunRay-Users at filibeto.org
> http://www.filibeto.org/mailman/listinfo/sunray-users
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> SunRay-Users mailing list
> SunRay-Users at filibeto.org
> http://www.filibeto.org/mailman/listinfo/sunray-users


More information about the SunRay-Users mailing list