Liane Praza <liane.praza at sun.com> writes:

> Boyd Adamson wrote:
>> Huafeng Lu <Huafeng.Lv at Sun.COM> writes:
>>> ? 2008t1008? 01:47, Jordan Brown ?S:
>>>> The best answer is to deliver the manifest in a package, and set
>>>> the file class for the manifest to "manifest".  System-supplied
>>>> class action scripts will then do the right things on install and
>>>> uninstall.
>>> Hi Jordon,
>>>
>>> Yes I'm putting these file in a package, so such "svccfg delete"
>>> and "svccfg import" operations should be done as part of "pkgrm"
>>> and "pkgadd". Will you please provide more details about "file
>>> class" and "system-supplied class action scripts"? Any examples?
>>> Thanks.
>>> --
>>> Huafeng
>>>
>>
>> Here's a line from one of my packages' pkgmap file:
>>
>> 1 f manifest var/svc/manifest/site/bitlbee.xml 0644 root bin 1704 7356 
>> 1223433811
>>
>> This causes the manifest to be imported automatically on pkgadd and the
>> service to be deleted on pkgrm 
>
> Yep.
>
> (but requires a manual disable first).
>
> That's no longer the case as of the fix for 6470919, integrated in snv_98.
>
> I'm fairly convinced Renaud is backporting that to a future S10 update
> as well.  (It'll take a while due to soak rules, though.)  yay.
> Renaud rocks.

Cool, glad to hear it!

Yay, Renaud! :)

Boyd

Reply via email to