[csw-maintainers] cswclassutils: location of template init scripts

Maciej (Matchek) Blizinski maciej at opencsw.org
Tue Jun 1 13:51:03 CEST 2010


No dia 1 de Fevereiro de 2010 21:31, Philip Brown <phil at bolthole.com> escreveu:
> I think it would be better for our users, if we standardize on a
> location under /opt/csw
> For example, /opt/csw/etc/init.d

Let's consider the following scenario:

There's a global zone, and a non-global, sparse zone which shares
/opt.  During package installation, the global zone is processed
first.  The class action script copies the init file to
/opt/csw/etc/init.d/foo, generates the SMF manifest, imports it and
starts the service.  Then, pkgadd proceeds to the non-global zone.
The /opt filesystem is shared, so the /opt/csw/etc/init.d/foo is
already there.  The rest of this scenario is left as an exercise for
the reader.


More information about the maintainers mailing list