OK, the situation is that I am trying to avoid full root zones whenever possible but I need at least /usr writable as this zone will be using apache as installed as a Solaris package.
So....I created a new zone and every time I try to remove any inherited package directories, the below occurs. This is 10/9 SPARC box with the lastest patch cluster installed. What am I doing wrong?
zonecfg:cf9tomcatzone> create
zonecfg:cf9tomcatzone> set zonepath=/zpool/zones/cf9tomcatzone
zonecfg:cf9tomcatzone> set autoboot=true
zonecfg:cf9tomcatzone> remove inherit-pkg-dir
Are you sure you want to remove ALL 'inherit-pkg-dir' resources (y/[n])? y
zonecfg:cf9tomcatzone> add net
zonecfg:cf9tomcatzone:net> set physical=bge0
zonecfg:cf9tomcatzone:net> set address=192.168.246.26
zonecfg:cf9tomcatzone:net> set defrouter=192.168.246.1
zonecfg:cf9tomcatzone:net> info
net:
address: 192.168.246.26
physical: bge0
defrouter: 192.168.246.1
zonecfg:cf9tomcatzone:net> end
zonecfg:cf9tomcatzone> verify
zonecfg:cf9tomcatzone> info
zonename: cf9tomcatzone
zonepath: /zpool/zones/cf9tomcatzone
brand: native
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
net:
address: 192.168.246.26
physical: bge0
defrouter: 192.168.246.1
zonecfg:cf9tomcatzone> commit
zonecfg:cf9tomcatzone> exit
-bash-3.00# zoneadm -z cf9tomcatzone install
Preparing to install zone <cf9tomcatzone>.
Creating list of files to copy from the global zone.
Copying <3916> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <5> packages on the zone.
Initialized <5> packages on zone.
Zone <cf9tomcatzone> is initialized.
Installation of <1200> packages was skipped.
The file </zpool/zones/cf9tomcatzone/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
-bash-3.00# zoneadm -z cf9tomcatzone boot
zoneadm: zone 'cf9tomcatzone': mount of /proc failed: No such file or directory
zoneadm: zone 'cf9tomcatzone': unable to mount filesystems
zoneadm: zone 'cf9tomcatzone': call to zoneadmd failed