Casper.Dik at Sun.COM wrote:
> 
>>> Suggested TCR: If it is absolutely impossible to avoid setting
>>>  LD_LIBRARY_PATH, LD_LIBRARY_PATH_32 & LD_LIBRARY_PATH_64 must
>>>  be used to avoid breaking 32 vs. 64 bit applications.
>>>
>> On Solaris we use LD_LIBRARY_PATH_64 (only 64 bit applications are 
>> supported), but this env. variable doesn't seem to exist on Linux so we 
>> use LD_LIBRARY_PATH.
> 
> 
> I think it should be a TCR: you MUST build your applications such that
> $LD_LIBRARY_PATH does not be set.
> 

This is reasonable, if we rebuild everything with -R, and always install 
the software in the same location.  We had historically let users 
install the software wherever they wanted.

> 
>> They are all Bash scripts.
> 
> Why not a POSIX shell (such as ksh93)?  And if they are started from a 
> command line, why are they end with .sh?
> 

The .sh suffix is easily changed -- no problem.  As far as Bash vs. 
ksh93, it was because we were more familiar with Bash -- is it necessary 
to switch?

>>> What shell is used for these scripts?   If it's /bin/sh, have you verified 
>>> they
>>> work with both classic Solaris /bin/sh and ksh93 (which OpenSolaris uses as
>>> /bin/sh)?
>>>
>>>> We edit:
>>>>  * /etc/dt/config/Xconfig to set Dtlogin*grabServer: False
>>> As much as it pains me to say it, given the security-reducing change you 
>>> make:
>>> TCR: Perform equivalent modifications to gdm configuration as made to 
>>> dtlogin
>>>      configuration.   (gdm is used on OpenSolaris as dtlogin is removed, and
>>>      gdm may be used on Solaris 10 if accessibility is required or the site
>>>      admin otherwise prefers it.)
>>>
>> The changes are being made to gdm on OpenSolaris and Linux.
> 
> Why is this change needed? 
> 

When Chromium starts applications on the render nodes, it needs to be 
able to open up X clients on the local X server.  These X servers are 
typically sitting at the login screen at the time.

>>>> ./SUNWdmx/reloc/dmx/include/X11/*
>>>> ./SUNWdmx/reloc/dmx/lib/X11/*
>>> You appear to be shipping a large portion of the X Window System, including
>>> many libraries and headers which would already be present on the system, and
>>> which if included in the global LD_LIBRARY_PATH you set would break other
>>> applications.
>>>
>>> TCR: Stop that!
>>>
>> Are you saying DMX is available on OpenSolaris -- we could not find it 
>> the last time we looked.
> 
> He's talking about the X11 bits which are in OpenSolaris.  No ship which 
> is also in OpenSolaris.
> 

OK, we were packaging up everything that we had built for completeness, 
as opposed to determining what was the bare minimum libraries we needed.

Thanks,
Steve


> Casper
> 

Reply via email to