Quoth Jim Connors on Thu, Jul 19, 2007 at 08:01:26AM -0700:
> Continuing down this path, I now realize that the SMF repository will
> need to be preserved across boots also.  At minimum, the repository
> will change, for example,  as shares are administered.   I've read
> a few of the blog entries explaining the interaction with boot and
> SMF, and am wondering if I could add some additional kludgery.   Would
> it be possible to have a service which, upon reaching some kind of
> milestone, switches repositories from the static one found in the
> flash boot image to one that could be modified and preserved?

Yes, but the ideal solution would take a nontrivial amount of work.
You'd have to teach svc.configd to switch repositories, and make sure
that svc.startd and any services which are running at the time can cope
with properties changing because of it.  When we change from a read-only
repository to a writable one would probably be a good time for this.

It seems that someone is working on making svc.configd switch writable
repositories, so that might be useful, though I believe it involves
switching to a copy of the repository in a new location, so properties
wouldn't change spontaneously.


David

Reply via email to