Stacey Marshall writes:

> lianep at eng.sun.com wrote:

> Current.ly dns/server does not have a method script.  named(1M) is 
> simply started and the default
> file is /etc/named.conf.  So it seems the preferred  action would be to 
> start 'named(1m)  and have it exit with SMF_EXIT_ERR_CONFIG before 
> forking if the configuration file does not exist.
> 
> To override the default configuration file another Application option 
> should be added to the manifest,
> and the file dependency FMRI should be removed.

Perfect.

> >>> As I mentioned above, this isn't sufficient, to specify an 
> >>> alternate config file for named to actually use?
> >>>   
> >>>       
> >> Which is the bug that my code above would address.
> >>     
> >
> > Got it.  Didn't realize you're working on making things better.  Thanks!
> >   
> 
> And I'd come to like that code too!  Sigh :-)

The code should be pretty reusable -- you've already done the hard work 
of figuring out the interface.

thanks,
liane
-- 
Liane Praza, Solaris Kernel Development
liane.praza at sun.com - http://blogs.sun.com/lianep



Reply via email to