On 05/03/12 06:48, Shawn Walker wrote:
On 05/03/12 06:20, Sajith C.R. wrote:
Thank you Mark,
You suggested to rename the existing run-once SMF and not to
administratively deleted it.
But during next pkg update, again run-once do not get executed. I
tried with using restart_fmri and disable_fmri actuators together also.

My requirement is to make it call enable action every time a package
is updated irrespective of whether SMF is modified or not.

There's no way to do that using the file action that delivers the
manifest alone.

The SMF actuators are only executed when the action they are assigned to
is changed.

You need to use a solution like the one Mark suggested.

If you want to restart that fmri every time the package is updated,
put the restart_fmri tag on some action that changes every release.

- Bart


--
Bart Smaalders                  Solaris Kernel Performance
[email protected]       http://blogs.oracle.com/barts
"You will contribute more with Mercurial than with Thunderbird."
"Civilization advances by extending the number of important
 operations which we can perform without thinking about them."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to