[15344] in Athena Bugs

home help back first fref pref prev next nref lref last post

Misc Solaris q's

daemon@ATHENA.MIT.EDU (John Hawkinson)
Sun Aug 3 02:35:38 1997

Date: Sun, 3 Aug 1997 02:35:36 -0400
To: bugs@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>


While installing WABI 2.2D on portnoy (Athena Solaris 8.1.7),
I ran across some oddnesses that seem worth reporting.

1)	/opt is not local. This means that if you try to install
	any standard sort of Solaris package that installs files in
	/opt, you lose.

	It seems to me that /opt should be a directory on local disk
	that is populated with symlinks to /os/opt/foobar. Right now, /opt
	is:

lrwxrwxrwx   1 root     other          9 Aug  9  1996 /opt -> /os/./opt


2)	It looks like /var/opt exists, and is a symlink to /srvd/opt.
	This seems peculiar since /srvd/opt does not exist. Also, /os/var/opt
	seems to exist and is empty. "Curious and curiouser".

3)	/etc/opt is a symlink to /os/etc/opt. Typically packages which install
	in /etc/opt do so because the items they install must be present
	on the root partition at boot time. As such, any such packages
	are likely to fail in this environment. Fortunately, the only two
	are:

system      SUNWleo        ZX System Software (Device Driver)
system      PFUaga         AG-10 Device Driver

	neither of which are common hardware around here.

4)	When I installed WABI, I got the error:

| ## Verifying package dependencies.
| WARNING:
|     The <SUNWcsd> package "Core Sparc Devices" is a
|     prerequisite package and is not completely installed.

This seemed odd. It appears to be another case of the package database
being potentially corrupt, or perhaps it's simply that the package was
"not completely installed". Here's what pkginfo says on an Athena solaris
machine:

[portnoy!jhawk] /var/tmp# pkginfo -l SUNWcsd
   PKGINST:  SUNWcsd
      NAME:  Core Solaris Devices
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.5.1,REV=96.05.02.21.09
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  core entries for /dev and /devices needed for the initial boot of Solaris
    PSTAMP:  bread960502211338
  INSTDATE:  Sep 03 1996 11:04
   HOTLINE:  Please contact your local service provider
    STATUS:  partially installed
     FILES:     35 installed pathnames
                22 partially installed pathnames
                 2 shared pathnames
                11 directories

On a vanilla Solaris 2.5.1 machine, however:

trophy-case.bbnplanet.com% pkginfo -l SUNWcsd
   PKGINST:  SUNWcsd
      NAME:  Core Solaris Devices
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.5.1,REV=96.05.02.21.09
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  core entries for /dev and /devices needed for the initial boot of Solaris
    PSTAMP:  bread960502211338
  INSTDATE:  Jul 18 1996 13:01
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:     57 installed pathnames
                 2 shared pathnames
                11 directories
 
This suggests something is wrong here. It doesn't appear to have anything
to do with the bread, though.

--jhawk

home help back first fref pref prev next nref lref last post