thanks for that one. I didn't have a default instance defined in the
manifest. it works fine now.

thanks,
- karthik.

On Wed, 4 Jul 2007, Renaud Manus wrote:

> -------- Original Message  --------
> Subject: [smf-discuss] moving from legacy init scripts to SMF
> From: Karthik Ramamurthy <karthik at veritas.com>
> To: smf-discuss at opensolaris.org
> Date: Wed Jul 04 2007 02:33:34 GMT+0200 (CEST)
>
> > hi,
> >
> > i am changing my init script from the legacy model to using SMF. I
> > created a XML manifest and imported the manifest using the svccfg
> > command. All good till here.
> >
> > when i try to enable my service using svcadm -v enable system/mm
> > (where mm is the name of my pseudo driver), i get an error
> >
> > svcadm: Pattern 'system/mm' doesn't match any instances
> >
> > is there anything else I need to do apart from importing the manifest?
>
> No. Does your manifest define a default instance ?
>
> -- Renaud
>

Reply via email to