Quoth Cynthia Eastham on Tue, Feb 20, 2007 at 09:26:37PM -0800: > Lets say I have two services (serviceA and serviceB). ServiceA is enabled > through an administrative command (not through a profile) while ServiceB is > enabled through the generic_open profile (disabled through generic_limited). > > I'd like the following to occur: > 1) If running with the generic_limited profile, > serviceB should be disabled (even if serviceA is enabled) > 1) If serviceA is disabled, > then disable serviceB > 3) If serviceA is enabled, > then enable serviceB iff running with generic_open profile > 3) If serviceA is in a state other than enabled/disabled, > then serviceB should be either offline (running with > generic_open profile) or disabled (running with > generic_limited > profile) > > How do I make this happen?
Why don't you o Deliver serviceB as disabled by default o Have generic_open.xml enable serviceB o Have generic_limited_netx.ml disable serviceB o Have the tool which enables serviceA enable serviceB only if /var/svc/profile/generic.xml points to generic_open.xml ? David