* Danek Duvall <[EMAIL PROTECTED]> [2008-06-25 23:47]:
> On Wed, Jun 25, 2008 at 10:31:04AM -0500, Tom Mueller (pkg-discuss) wrote:
> 
> > Webrev: http://cr.opensolaris.org/~tmueller/cr-2309,2310/
> 
> Hm.  It's odd that setting pkg/port on a specific instance fails.  I wonder
> if this is a bug in our manifest?  Perhaps an SMF expert could comment on
> that aspect?  Basically,
> 
>     svccfg -s application/pkg/server:default setprop pkg/port = 9999
> 
> fails with "svccfg: No such property group "pkg".".  Drop ":default", and
> it works.  But shouldn't we be able to set the property per-instance?
> 
> Or am I just totally confused?

  You need to create the pkg property group on the instance first.  It's
  defined on the service in the manifest.

  So add a new property group to the instance:

  svccfg -s application/pkg/server:default addpg pkg application
  svccfg -s application/pkg/server:default setprop pkg/port = 9999

  Or change the service:

  svccfg -s application/pkg/server setprop pkg/port = 9999

  Then

  svcadm refresh pkg/server

  I'll leave your latter question to others.

  - Stephen

-- 
[EMAIL PROTECTED]  http://blogs.sun.com/sch/
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to