Quoth Tony Nguyen on Sat, Jun 28, 2008 at 04:11:53PM -0700:
> Peter Hawkins wrote:
> > I've modified the samba smf service on NVb91 to enable browsing and now 
> > have a service with two instances:
> >
> > svc:/network/samba:smbd
> > svc:/network/samba:nmbd
> >
> > If I now try svcadm enable/disable I get a warning about multiple 
> > instances, as expected. Is there a way to start stop both of these with a 
> > single command, e.g. wildcards?

This is 5107210 "svcadm could have a flag to act on multiple instances".

> Is it correct to have multiple instance here since the original service 
> is declared as "single instance"?

It's ok for multiple instances to exist, but when the framework sees
single_instance it's supposed to prevent both from running at the same
time.  It doesn't do this currently, though.


David

Reply via email to