Quoth Bernd Schemmer on Fri, Apr 28, 2006 at 06:17:06PM +0000: > Just tried it again, svc.startd does check for dependency cycles on > svcadm refresh: ... > But IMHO this check is also done to late if you're working on a > production system.
Sure. You want to tell the system "I want to add this dependency," and if appropriate you want the system to say "No! That would create a dependency cycle!" before actually doing it. Unfortunately, we don't really have a place for this high-level interaction right now (svccfg doesn't understand the dependency tree). I imagine that once we have the vpanels project, it would go there. In the meantime, we either have to add complexity to svccfg (or possibly "svcadm adddep"), or give you the tools to make the decision yourself (e.g., svcs -dr, which give the recursive list of dependencies for a service). Frankly, I think we'd rather focus on vpanels. (Though svcs -dr might not be too hard.) David