On 1/19/06, Nicolas Williams <Nicolas.Williams at sun.com> wrote:
>
> On Wed, Jan 18, 2006 at 11:37:06PM +0530, Nikhil wrote:
> > On 1/18/06, Nicolas Williams <Nicolas.Williams at sun.com> wrote:
> > >
> > > On Wed, Jan 18, 2006 at 12:25:53PM +0530, Nikhil wrote:
> > > > Hi
> > > >
> > > > Is it possible that if my configuration file is changed and without
> > > > restarting my service with svcs, can svc.startd take care of hupping
> the
> > > > application itself ?
> > >
> > > SMF file dependencies are not as fully functional as you would expect.
> >
> >
> > Is it already thought of  ? If so, then when the changes are going to
> > propagate into Actual SMF stuff ?
>
> I don't know what the plan is for file dependencies, but you can imagine
> that fully functional file dependencies will require a filesystem event
> facility, and one, by the way, that will work across NFS (for diskless
> boot).  In other words, I wouldn't expect this anytime soon.
>
> More importantly though, file dependencies are a poor interface for your
> needs.  This is because an event message like "/etc/foo.conf changed"
> isn't necessarily atomic w.r.t. whatever is actually changing
> /etc/foo.conf.  That is, just because /etc/foo.conf has changed doesn't
> mean it is done changing.
>
> So you should consider the possibility that file dependencies really
> aren't something you want.
>
> Nico
> --
>

Thanks for the clarification Nico.. I got it .. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20060119/7ed846a0/attachment.html>

Reply via email to