On 02/25/11 08:37, Darren Kenny wrote:

Yes, my intention was to make this change as part of the standard
Transfer Logs checkpoint, not just for zone root install.  This actually
needs to apply to *any* temporary work files that the AI client, and any
of its checkpoints, need to use.  So the change actually spans beyond
just the Transfer Logs checkpoint.

Perhaps the main AI program code needs to set some WORKDIR variable in
the DOC, and all checkpoints need to base off that in creating temp files.
Hmm, that's certainly a possibility, I'll take a look at doing this.

So just to be clear, you would expect something to be in the DOC like:

      ApplicationParameters(DataObject):
          application_name = "auto-install"
          work_dir = "/var/run/install.PID"

This is possibly something generic that we could create in install_common, and
then anyone that wants to know this type of information could use it by using
class methods like:

      work_dir = ApplicationParameters.get_work_dir(doc)

How does that sound?
This sounds promising.  Do you think you can include this as part of
AI->CUD?  If not, this is something I could probably include.
Yes, I think we could do something like this if it's useful, what other
information would be useful to store?

I can't think of anything else at this point.

thanks,
-ethan

Thanks,

Darren.

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to