Fun Upgrading Solaris2.1 to Solaris2.3

Fun Upgrading Solaris2.1 to Solaris2.3

Post by Stuart McD » Thu, 03 Feb 1994 08:30:29




> 1. The existing sunpc driver crashes the system --something horrible --
> (manual fsck, loss of files ,....). There is no 5.3 driver in my
> distribution though there are patches for Solaris2.3 and the installation
> script checks for the 2.3 driver.  Does anyone know how to get that driver
> or what else the problem may be?

You need to upgrade to sunpc 4.0.1
sunpc 4.0 does NOT run under 2.3

--

| Applied Research Laboratories          |          +1 512 835 3672 w          |
| The University of Texas at Austin      |                                     |
| 10000 Burnet Rd., Austin, Texas 78758  |                                     |

 
 
 

Fun Upgrading Solaris2.1 to Solaris2.3

Post by Nathan Wei » Thu, 03 Feb 1994 07:29:04


Since many people are discussing the "fun" they are having upgrading
to Solaris2.3 I think I'll put in my two cents worth in the hope that
someone has an idea how to solve my "problems".

I have recently upgraded my Sparc LX from Solaris2.1 to Solaris2.3.
Most things work fine but there are some exceptions.

1. The existing sunpc driver crashes the system --something horrible --
(manual fsck, loss of files ,....). There is no 5.3 driver in my
distribution though there are patches for Solaris2.3 and the installation
script checks for the 2.3 driver.  Does anyone know how to get that driver
or what else the problem may be?

2. The existing SLIP driver doesn't seem to work. When I run
slattach as I did with 2.1, the system comes back with and error
frome the driver --- something to the effect
"open:  invalid parameters".  Is there a SLIP program that anyone
has gotten to work with Solaris2.3?

3. Solaris2.3 seems does not seem  happy with the xfont paths from
many old programs. Most significantly the fonts which used to be
built with "bldfamily" do not seem to work.  It is interesting that
/usr/openwin/bldfamily existed on 2.1 but for 2.3 there is not even
a reference to them in the Answerbook? Does anyone know what is
going on? I have some fonts which I use for which mkfontdir doesn't work.

4. There is, of course, the problem of volume manager not allowing
cdplayers etc to work properly. This has been discussed very recently.
It is a pain and it would be nice to have a cdplayer which knows how
to deal with the volume manager. Has anyone found such a cdplayer?

5. Believe it or not Sparcworks crashes with an error:
something to the effect that it can't find XwcDrawString which is referenced
in libX11.so.4.  This is a standard library call and my LD_PATH is
set to include the openwindow libraries.  Any ideas?


I think the net would be better since there may be many other interested
persons.

Thanks

 
 
 

Fun Upgrading Solaris2.1 to Solaris2.3

Post by Juergen Ke » Fri, 04 Feb 1994 06:57:12



> 4. There is, of course, the problem of volume manager not allowing
> cdplayers etc to work properly. This has been discussed very recently.
> It is a pain and it would be nice to have a cdplayer which knows how
> to deal with the volume manager. Has anyone found such a cdplayer?

I've compiled workman (using the suggested defines, ... for Solaris 2
in the makefile) and inserted the line

        action cdrom action_workman.so /usr/openwin/bin/workman

into /etc/rmmount.conf. Now all you have to do is insert an audio
cd into the cdrom drive and workman gets automatically started.
Really nice!
--

 
 
 

Fun Upgrading Solaris2.1 to Solaris2.3

Post by Bertrand DECOUTY, poste 73 » Fri, 04 Feb 1994 19:12:13




->
->> 4. There is, of course, the problem of volume manager not allowing
->> cdplayers etc to work properly. This has been discussed very recently.
->> It is a pain and it would be nice to have a cdplayer which knows how
->> to deal with the volume manager. Has anyone found such a cdplayer?
->
->I've compiled workman (using the suggested defines, ... for Solaris 2
->in the makefile) and inserted the line
->
->   action cdrom action_workman.so /usr/openwin/bin/workman
->
->into /etc/rmmount.conf. Now all you have to do is insert an audio
->cd into the cdrom drive and workman gets automatically started.
->Really nice!

Yes, but there are 2 drawbacks:

        - you must allow root to display anything on your display by issueing

        - as workman is started as root, it can have some trouble to
        read (and eventually lock and/or write) your database
        (~/.workmandb), except if you enable access to everybody.
        Correct me if i am wrong.

->--

Bertrand D.

---

| IRISA - INRIA (Atelier)      |         {uunet,mcsun,inria}!irisa!decouty        |
| Campus de Beaulieu           | PHONE : +33  99 84 73 46                         |
| F-35042 Rennes Cedex - FRANCE| FAX   : +33  99 38 38 32 | TELEX: 950473 UNIRISA |

 
 
 

Fun Upgrading Solaris2.1 to Solaris2.3

Post by Ian Darw » Fri, 11 Feb 1994 23:46:27



> [ discussion of workman from volmgr; it works]
> Yes, but there are 2 drawbacks:
>    - you must allow root to display anything on your display by issueing

>    - as workman is started as root, it can have some trouble to
>    read (and eventually lock and/or write) your database
>    (~/.workmandb), except if you enable access to everybody.
>    Correct me if i am wrong.

You are wrong. If you are logged in on /dev/console when you started
OpenWin (and how could you not be?), workman_action.so does a setuid
to the current owner of /dev/console before starting workman, so that
your .Xauthority, setup by the openwin startup script, will allow it
to open a window on your display.

Oh, you think I'm dreaming? Vell, here is ze proof! :-)
Here is truss(1) output to show this happening:
# ps -ae | grep vol
   177 ?          0:02 vold
# truss -o j -f -p 177
# vi j # trim it down to fit USENET guidelines :-)

# Here it stats /dev/console to see who the owner is
283:    stat("/dev/console", 0xEFFFFA28)                = 0
# Look up the numeric uid to ensure it's a valid user on this system:
283:    open("/etc/nsswitch.conf", O_RDONLY, 0666)      = 10
        # 20 lines of figuring out that I don't use NIS deleted
283:    open("/etc/passwd", O_RDONLY, 0666)             = 10
283:    fstat(10, 0xEFFFF598)                           = 0
283:    ioctl(10, TCGETA, 0xEFFFF524)                   Err#25 ENOTTY
283:    read(10, " r o o t : x : 0 : 1 : 0".., 8192)    = 1073
283:    lseek(10, 0xFFFFFDE0, 1)                        = 529
283:    close(10)                                       = 0
# and set its uid and gid to me (100/3)
283:    setuid(100)                                     = 0
283:    seteuid(100)                                    = 0
283:    setgid(3)                                       Err#1 EPERM
283:    setegid(3)                                      Err#1 EPERM
# Then some 20 lines later it does an execve("/path/workman", .., which
# starts workman running as me. I do not run with any hosts xhosted,
# and I'm now listening to Beethoven's Ninth.

So, this aspect of volume management is pretty well thought out, and it
works, at least for standard cases.

 
 
 

1. Remote Mounting CDROM from one SOLARIS2.4 BOX to other SOLARIS2.4 BOX

Hi All,
        I am novice to Unix Administration and I am trying to solve a relatively
simple problem. I am trying to mount cdrom which has been attached to a machine A
onto Machine B. All the files in the CDROM belong to a group 'sys' and the parent directory
has permissions of 555 and so does all the directories within that. I can just see the parent
directory from the Machine B i.e. the machine on which CDROM was mounted but no subdirectories
in it.
        Any pointers would be greatly appreciated.

Thanks in advance

Shekar.


2. How to link a.out libs?

3. Solaris2.6 TCP/IP faces Solaris2.5.1.

4. Has Anybody had trouble with this type of Ethernet?

5. Installing sed3.0 and Solaris2.4 vs sed3.0 and Solaris2.5

6. if your GCC (or binutils) gets signal 11, READ THIS!

7. How I can mount CD Solaris2.0 Answer Book in Solaris2.5

8. GNOME ppp applet solution

9. Losing space from Solaris2.4 to Solaris2.5.1?

10. Does anyone have ssh binaries for Solaris2.5.1 or Solaris2.6?

11. DNS search between Solaris2.5.1 and Solaris2.6

12. Solaris2.3 - Solaris2.5.1 captive accounts

13. Upgrading to Solaris2.3 - will external drives still work?