Univention Bugzilla – Bug 50765
ucs-school-umc-exam/conffiles/etc/cron.d/ucs-school-umc-exam-master is also executed on DC backup
Last modified: 2023-05-26 15:40:51 CEST
The cron job ucs-school-umc-exam/conffiles/etc/cron.d/ucs-school-umc-exam-master is also executed on DC backup systems since the master's meta package ucs-school-master is also installed on DC backup systems. Usually the UCS system's time is NTP synchronized → all DC Master and DC Backup start this cron job at the same time to stop existing exams. Therefore several processes make LDAP changes simultaneously which already caused trouble on customer systems (tracebacks).
Fixed by making sure the server/role is dc master in ucs-school-umc-exam/conffiles/etc/cron.d/ucs-school-umc-exam and printing 'Skipping exam-and-room-cleanup on backup.' otherwise.
[4.4 14efdf3f4] Bug #50765: Add server/role variable to ucs-school-umc-exam-master.univention-config-registry and ucs-school-import.univention-config-registry. Package: ucs-school-umc-exam Version: 9.0.1-29A~4.4.0.202002111005 Branch: ucs_4.4-0 Scope: ucs-school-4.4
OK: functional change OK: code change OK: installation OK: update --: ucs-test OK: changelog entry UPDATED: advisory OK: package built and installable
UCS@school 4.4 v4 has been released. https://docs.software-univention.de/changelog-ucsschool-4.4v4-de.html If this error occurs again, please clone this bug.