Nicolas Williams writes: > On Tue, Mar 06, 2007 at 01:47:15PM -0700, Tom Whitten wrote: > > I don't see any reason why you couldn't do what you are proposing. If you > > store the date/time of the first service start as a volatile property, it > > automatically get removed on reboot. This would make it easy to tell if > > the service is starting for the first time. > > > > Without knowing more about your state information, I don't know whether or > > not volatile properties are appropriate for it. > > I think they would be. If not then we can always use the system > repository. > > What happens if svc.configd blows up and loses the running repository? > > Nico > --
svc.configd will be restarted by startd if it blows up. The volatile (aka non-persistent) properties are kept in a repository under /etc/svc/volatile, so the newly started svc.configd will be able to access them. /etc/svc/volatile is a tmpfs file system, so that is why these properties go away on reboot. Hope that answers your question, but if not give me another try. tom