I have a(probably trivial) problem with a manifest. I need to bring up another default route for a zone that'll have a virtual interface in another network than the global zone. I can't do this before the zone is booted, since before then, the system won't be connected to the network where this second gateway resides, hence throwing me a "network unreachable" error.
So I was looking around, and found this thread: http://www.opensolaris.org/jive/thread.jspa?messageID=10877& So, I figured I'd customize his script slightly to make it depend on the zone service, and also just change the service and file names to reflect that this is only used for setting default routes for local zones. It's doing what I want now, except I can't make the zone dep work. Currently the dependency section looks like this: " <dependency name='zone-service' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/system/zones' /> <!-- <service_fmri value='svc:/network/service' /> --> </dependency> " Aside from this, the editing is pretty much "s/static-routes/zones-default-routes/" By the way, before someone asks, the commented out original service_fmri is just there as a reference to me, I'm new to SMF, and I'm worse at XML, so be gentle :) When the box reboots, the zone service comes up as it should(that is, take slightly longer than the rest of the system, maybe 20 seconds or so at most), but the zones-default-routes service lands in a maintenance state straight away(or as straight away as I can login anyway). Just doing a "svcadm clear zones-default-routes" after the zones service is up adds the route and brings the service to Online as expected. Anyone? This message posted from opensolaris.org