Quoth De Mena, Ron on Fri, May 12, 2006 at 09:51:36AM -0400: > Please correct me if I am wrong... > > You are looking to add properties and features similar to what > /etc/default/sendmail file does for the sendmail service when we would > define MODE="" to disable daemon mode? > > Just trying to put it in perspective, because I got lost in those > projects you linked, but I think I get the idea.
It seems that you are not familiar with today's SMF profiles. Currently (Solaris 10 & Nevada), you can write a file which comprises a list of services and whether each should be enabled or disabled. (The format is XML, following the service_bundle(4) DTD.) You can invoke 'svccfg apply' on that file, and it will enable or disable services according to the file. See the .xml files in /var/svc/profile on a Solaris 10 system for examples. This project is to extend this concept to allow people to customize more than just whether a service is enabled or disabled. What its dependencies are, what executables to use for the service, what resource management settings to use with the service, or any service-specific properties which the service may use. Furthermore, it allows projects to allow users to create these profiles easily for later use. David