Univention Bugzilla – Bug 52197
Add current phase to univention-updater.status
Last modified: 2021-03-15 11:48:08 CET
The updater should add the current phase to the status file /var/lib/univention-updater/univention-updater.status that is used by the maintenance mode and some other scripts to detect a running update.
During the update from UCS 4.4 to UCS 5.0 the execution of joinscripts is postponed depending on the phase read from the updater status file (Bug 51624). Therefore the status file /var/lib/univention-updater/univention-updater.status has been improved and the keyword "phase" has been added. "phase" is only available if the "status" is "RUNNING". The order of phases is status=RUNNING phase=PREPARATION status=RUNNING phase=PREUP status=RUNNING phase=UPDATE status=RUNNING phase=POSTUP status=DONE or status=FAILED errorsource=... The format of the univention-updater.status has been documented in README.devel. A new ucs-test script 29updater-status has been added that checks the correct content of the status file. Changes have been made in branch sschwardt/446/US1205-no-joinscript-during-update
Branch has been merged and built. Package: univention-updater Version: 14.0.3-4A~4.4.0.202010161751 Branch: ucs_4.4-0 Scope: errata4.4-6
QA done as part of QA for Bug #51624 OK: errata-announce -V --only univention-updater.yaml
<https://errata.software-univention.de/#/?erratum=4.4x780>