On Fri, Oct 09, 2009 at 11:53:49AM -0700, Antonello Cruz wrote: > Dependencies are made on services, instances or files. I find > unreasonable to expect a service to have knowledge of where the > manifests of its dependencies were delivered.
Developers delivering manifests into /var shouldn't have to care where their services' dependencies' manifest live, indeed. Developers delivering manifests into /etc, OTOH, should. That's an ugly accident that results from having had /var in the first place. But this is something that developers should be able to deal with easily enough. It might be nice to have an attribute that svcs(1) can list that indicates whether a service was added/updated at EMI- or LMI-time, to make it trivial to determine if a dependency makes it unsafe to deliver a manifest into /etc. If you can make SMF work around this, great. Peraps you can make late manifest import clear services that went into maintenance because of missing dependencies? I think that should work.