-------- Original Message -------- Subject: [smf-discuss] query on smf From: Karthik Ramamurthy <kart...@veritas.com> To: smf-discuss at opensolaris.org Date: Mon Nov 12 2007 20:17:56 GMT+0100 (CET)
> hi, > > i have a pseudo device driver installed as a package. i am using smf > to start/stop the service. i do not want the service to be enabled > after package installation, but would like it to be enabled after > every reboot. > > i tried marking create_default_instance=false in the manifest -- this > does not enable the service after package install but it also disables > the service after every reboot. you probably meant "create_default_instance enabled='false'". Anyway, this is a good start :-) > following the reboot, the service gets > enabled, but get disabled immediately after that. You're looking for RFE 6198442 "deferred enable/disable for svcadm and libscf" There is a workaround (described in the CR) that you can use in a postinstall script to do what you want. -- Renaud