Brian Smith writes:
> I have read filesystem(5). It says that /var/svc/manifest is the place for
> "SMF service manifests. An approved installation location for bundled,
> add-on system software and applications." What is the advantage of storing
> the service manifests in /var/svc/manifest?

The system automatically finds them and integrates changes.

> What happens if I don't store a
> manifest there? If the user deletes everything in /var/svc/manifest then
> will anything bad happen?

No ... but why would anyone deliberately break the system by removing
files delivered by packaged software?

> If you put a file into /var/svc/manifest/network/<service>.xml then it won't
> be picked up until reboot. That means I need to have a class script that
> does "svccfg import -f /var/svc/manifest/network/<service>.xml". If I do
> "svccfg import", then do I still need to still store the manifest in
> /var/svc/manifest? If so, why?

That shouldn't be necessary.  "svcadm restart manifest-import" should
do the trick.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to