Univention Bugzilla – Bug 50764
Joinscript of master meta package is also executed on DC backup
Last modified: 2023-06-23 13:43:06 CEST
The package ucs-school-master contains a joinscript which is not only executed on the DC master but also on DC backup systems. Since the joinscript does not check whether e.g. the corresponding changes have already been made on the master, they are repeated on the backup if necessary, which can lead to irritation and misconfiguration after installation/update of an additional DC backup. So far I have identified the following 2 points: 1) append_ucr_policy_to_base should only have an effect on the DC master or be allowed to be executed there. 2) The creation of a demo school also happens on a DC backup via the joinscript. The documentation should clearly state that ucsschool/join/create_demo=no should not only be set on the master, but also on the backups using a UCR policy, so that the behavior in the Backup2Master case is consistent. Also, the code path for creating a demo school on a DC backup should not react at all. This is the task of the DC Master.