James Carlson wrote: > Jordan Brown writes: >>> I'll argue that anything that sents the same set of flags to the same >>> state ought to be time-invariant, if it's going to be comprehensible >>> to mere mortals. >> I am not quite sure that I follow your point. How you get from point A >> to point B can be quite important. > > I agree that the order of operations along the path is important. > > I'm saying that I don't think you should end up in a different stable > (long-term) state if the same set of flags are set. In other words, > this: > > svcadm disable foo/top-one > svcadm enable foo/a-depends-on-top-one > svcadm enable foo/b-depends-on-top-one > > should result in the same long-term state as: > > svcadm enable foo/a-depends-on-top-one > svcadm enable foo/b-depends-on-top-one > svcadm disable foo/top-one >
It does assuming the restart_on property is set to 'restart' or 'refresh'. -- Renaud