[csw-maintainers] cswclassutils fails in a zone

Philip Brown phil at bolthole.com
Sun Feb 8 20:32:20 CET 2009


On Sun, Feb 08, 2009 at 10:26:52AM +0000, James Lee wrote:
> On 07/02/09, 21:15:23, Philip Brown <phil at bolthole.com> wrote regarding Re:
> [csw-maintainers] cswclassutils fails in a zone:
> > If you're doing that, then you're not using "sparse zones" right!
> 
> > The whole point of "sparse zones" is to SHARE stuff between zones.
> > especially packages!
> 
> The *OS* files are shared, e.g. /usr.  I want my zones to be distinct,
> *especially* the *add-on* software in /opt.  (Don't we all agree
> /usr/local is wrong?)

cswclassutils, by neccessity and definition, provides "OS files".
therefore, you must install it in the global zone, if you are sharing /usr
to zones. There is no way around this; it's part and parcel of the
definitions of each.

On the brighter side, I'm guessing that you should be able to manually
install just cswclassutils to the global zone, but everything else, to each
zone.

For folks who are having difficulties in this area: please try this out; if
this is acceptible, then we can then figure out how best to augment our
documentation to help people converge on this configuration.


> It's not clean because the traditional way to make a new zone is
> to copy the global zone.

errr.. i would disagree with that statement.
There are multiple usual ways to do that sort of thing, and i dont think
that "copy the global zone" properly describes either of them.

> (I think the new method is to make a template zone early and ZFS
> clone that for new zones - I'm not quiet there with this myself.)

this is exactly what i was going to suggest.




More information about the maintainers mailing list