]> git.ipfire.org Git - pakfire.git/commit
daemon: Check if build root is read-write mounted.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Jun 2013 18:34:46 +0000 (18:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Jun 2013 18:34:46 +0000 (18:34 +0000)
commitd251d8e78546049e37205b9c9a9a320e2b2e4036
tree6c19e4a865ce9ad01a840dba69ed5d2e73f3336e
parent84369401ab3b69541f6b763f050a2a1940cf351d
daemon: Check if build root is read-write mounted.

If there has been a connection error, iSCSI LUNs
remount themselves as read-only to prevent data-loss.

To stop starting new build jobs, we now have a check
and even try to remount the build root if we can.
python/pakfire/builder.py
python/pakfire/daemon.py
python/pakfire/system.py