cogbot.tmp_dir and software policy package post-install scripts

It looks like this parameter does not affect the post-install script defined in a software policy, we saw the script was put in /tmp and the output/debug put there also.

1- Is there a way to define where to drop and where to run the script from?

2- Is there a way to tell SA to NOT delete the temporary scripts and it's associated output file for debugging purposes.

3- Is there a way to set the debug level for what is written in batchbot.log?

Thanks

Pierre

P.S. even if we have the  

Name Description Value Change Status
cogbot.tmp_dir Cogbot key to configure Agent's temporary directory /var/bbt

set in the MESH (config/Server Automation/Agent), as the documentation says, it seems that the newly installed agent for Oracle Linux did not set it in the agent.args.

There's another place to set it, /Server Automation/SA Agent(cogbot) but I can't find documentation on the difference between the 2.

Thanks

Pierre