Andrew P. Lentvorski wrote: > Subject says it all: how do I get a working sun cc in a new small zone. > > Just install it.
> Right now, I compile in the global zone to something like /opt/local and then > rsync it to the other zone. However, this is less than ideal for two reasons: > > Why not just share /opt/local with the zones? > 1) The initial compile sees all of the packages in the global zone and > compiles depending upon them. I'd really like to know that I haven't missed > a dependency by actually compiling it in the zone that's going to use it. > > 2) Some install packages want to mess with the passwd and group files (I'm > looking at you *postfix*) and refuse to install without those entries. That > means that I need to let those entries go into the global zone, install all > over the place (lots in /var), rsync those directories over, add the passwd > entries to the small zone, and then delete the whole mess back out of the > global zone. > > Some packages simply aren't zone aware, or require whole root zones to install correctly (Sun's JES for example). > Hardly ideal. > > It seems to touch on a couple of different things (packaging, initial > install, loopback mounts, etc.), so it looks like the solution is more > complicated than a basic zones thing. > > Pick the type of zone you require for a job. Zones give you that choice. Ian
