silly me!

I had a bad entry from an earlier attempt at constructing the service manifest. 
 I realized it when I ran svcs -l and noticed the entries were named 
differently than in my manifest.

$ svcs -l multi-user
fmri         svc:/milestone/multi-user:default
name         multi-user milestone
enabled      true
state        online
next_state   none
state_time   Fri Jun 26 14:55:20 2009
logfile      /var/svc/log/milestone-multi-user:default.log
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/milestone/sysconfig (online) 
svc:/milestone/single-user (online) svc:/milestone/name-services (online)
dependency   require_all/none svc:/system/filesystem/local (online)
...
dependency   require_all/none svc:/application/osirisd (absent)



I cleared it out using
$ svccfg -s svc:/milestone/multi-user

svc:/milestone/multi-user> listprop

...
mysvc_multi-user                          dependency
mysvc_multi-user/entities                 fmri     svc:/application/cool-service
mysvc_multi-user/external                 boolean  true
mysvc_multi-user/grouping                 astring  require_all
mysvc_multi-user/restart_on               astring  none
mysvc_multi-user/type                     astring  service
...

svc:/milestone/multi-user> delpg mysvc_multi-user
Which removed the bad ones -they are gone from the list in listprop

Then I refresehd the service and things appear good now:
$ svcadm refresh svc:/milestone/multi-user


Sorry for clogging the forums with my mistakes, hopefully the resolution will 
be of some use to someone...
-- 
This message posted from opensolaris.org

Reply via email to