diff options
author | Bryan Drewery <bryan@shatow.net> | 2017-03-12 01:52:06 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2017-03-12 02:31:51 +0300 |
commit | a788d6d4f4cbb9b128b98f1f797920addea08301 (patch) | |
tree | e6af84c6c40c0152b9eb825ff7c413796f4698c7 /src/bin/poudriere | |
parent | 937e4ca00ddcda1608ec027cae3f8a9644a32e4d (diff) |
HTML JSON: Build these in a critical section.
This delayed INT/TERM until done. This is addressing two issues:
1. We use mktemp() inside of the logdir to make the next mv atomic,
which can leave behind a tmpfile if killed during this. A simple
TERM or the html_json_cleanup could handle fixing this, but it
ignores problem #2.
2. We want the interface data to be as consistent as possible. It would
not be idle to have updated the jail JSON but not the top level JSON.
Diffstat (limited to 'src/bin/poudriere')
0 files changed, 0 insertions, 0 deletions