> In terms of your question, I think all that is required here is decide on
> some reasonable semantics for existing service instances. The one that
> comes to my mind is temporary disable (equivalent of svcadm disable -t).
> i.e. if I use dladm -t to modify something and an instance exists in SMF
> for that and it is enabled, then dladm -t temporarily disables it.
> The semantics of temporary disable already means that it will return
> on next reboot, so that seems to fit. Anyway, think it through.
This approach is what Max has already done, as per my earlier email:
As I undertand Max's current prototype, he's wired the delete
-t functionality to temporarily disable the SMF service
instance, which seems a reasonable option. However, having
delete -t tied in with SMF and create -t not tied in seems
asymmetric and (to me, at least) illustrates the awkwardness
of handling -t.
... to which you responded "As I say above that doesn't make sense to me."
--
meem