lorax/src
Brian C. Lane 72bd52e061 lorax-composer: Check the queue and results at startup
If the system ran out of space, or was rebooted unexpectedly, the state
of the queue symlinks, or the results STATUS files may be inconsistent.
This checks them and:
 * Removes broken symlinks from queue/new and queue/run
 * Removes symlinks from run and sets the build to FAILED
 * Sets builds w/o a STATUS to FAILED
 * Sets builds with STATUS of RUNNING to FAILED
 * Creates missing queue/new symlinks to results with STATUS of WAITING

So, any builds that were running during the reboot will be FAILED, and
any that were waiting to be started will be started upon rebooting.

Resolves: rhbz#1657054
(cherry picked from commit f0bac40d7f)
2018-12-07 13:48:10 -08:00
..
bin Revert "Rename composer-cli to composer" 2018-10-08 16:55:57 -07:00
composer Revert "Rename composer-cli to composer" 2018-10-08 16:55:57 -07:00
pylorax lorax-composer: Check the queue and results at startup 2018-12-07 13:48:10 -08:00
sbin Remove SELinux Permissive checks 2018-12-06 16:36:03 -08:00