Paul Whitener schrieb:
I have looked at the srss utinstall script and typeset is not used in
the script. Unless of course I am looking at the wrong installer.
Look at your error message. The problems you see come from some of the
scripts in /opt/SUNWut/lib/iu_modules/ and the library scripts in
/opt/SUNWut/lib/support_lib/. Fiddling with this is made more
complicated by the fact that toplevel utinstall really unpacks this
stuff (the SUNWuti package) into a temporary location and runs it all
from there...
BTW: removing the -r from the typeset commands may not be the proper
fix. The problem comes from a disagreement in variable scope between
ksh88 and ksh93. Removing '-r' just takes away the 'readonly'
designation, but having one function write over something another
function meant to use as local constant may do bad things...
- Jörg
-----Original Message-----
From: Bob Doolittle <[EMAIL PROTECTED]>
Sent: May 28, 2008 6:14 PM
To: SunRay-Users mailing list <[email protected]>
Subject: Re: [SunRay-Users] OpenSolaris 200805 install issues
ottomeister wrote:
On Tue, May 27, 2008 at 5:55 PM, Paul Whitener <[EMAIL PROTECTED]> wrote:
Has anyone been able to install SRSS on the new OpenSolaris 200805? I
am getting the error:
/tmp/utinstall.749/opt/SUNWut/sbin/../lib/iu_modules/M38KIO[689]: .:
line 309: ADMINFILE: is read only
or similar errors. I see this show up in a lot of the Linux distro
installs as I search......
This happens because the SRSS installer assumes that /bin/ksh
is ksh88. On OpenSolaris and some Linux distros /bin/ksh is
ksh93, which isn't completely compatible with 88. You can work
around it by editing that line of that file and removing the '-r' from
the 'typeset' command.
This may, however, be only the tip of the iceberg.
Is ksh88 available on OpenSolaris at this time?
On Linux, we still require replacing /bin/ksh with ksh88 (pdksh RPM)
prior to SRSS installation.
In future, we hope to remove this requirement, but that work has not yet
begun.
Any feedback regarding other issues or progress would be much appreciated.
-Bob
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users