Stacey Marshall writes:
> lianep at eng.sun.com wrote:
> > Stacey Marshall writes:
> >
> >   
> >> I, like James, wanted the same ability but for dns/server.
> >>     
> >
> > Then you also need to file a similar bug as Jim found for ssh.
> > The dns/server service needs to make its config file location 
> > configurable as a service property.
> >
> > (It shouldn't be specified as a dependency either.)
> >   
> But /etc/named.conf has always been the dependency, I mean before smf(5):

> Surely it makes sense to keep this dependency. 

Leaving the check in the method script is preferable for the reasons 
given in this bug:
   http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6240573
(I moved the Comments to Description just now, so the changes may take 
a while to propagate to OpenSolaris.)

> 
> Further more use the dependency FMRI as the
> location that named should use for the configuration file:

It'd be better to use an explicit configuration property, which is 
looked it in both the method and in the service itself to find the 
config file, rather than using the dependency.


> > 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!

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



Reply via email to