Univention Bugzilla – Bug 47957
Update school role packages
Last modified: 2019-03-12 10:58:45 CET
Update UCS@school role packages for installation/setup/samba simplification.
ucs feature branch: juern/rolepackage 1d4ab5a0e2 | Prepare move of samba4slapvepdc join scripts to UCS@school ucsschool feature branch: juern/rolepackage 6eb50e7c1 Add central slave and backup role packages d59118128 Add central slave and backup role packages 22b4d258c Add joinscripts for central slave/backup 32e93b633 Add debian scripts for central slave/backup b45ea9426 Fix debian scripts for central slave/backup 4a89ae9b5 remove unneccessary ldapsearch option 678077533 Consider case where univention-samba4 was already installed in central
Updated branch: school/samba_vereinfachung_2018-12-06 on ucs and ucsschool
UCS Packages in branchtest: http://10.200.18.180/debian/dists/schoolsambavereinfachung2019-01-17/
Package: ucs-school-metapackage Version: 12.0.0-2A~4.4.0.201901171252 Branch: ucs_4.4-0 Scope: ucs-school-4.4
Packages are in ucsschool 4.4 and in ucs 4.4 branch test. Tests need to be done before branch can be merged into ucs 4.4
* school/samba_vereinfachung_2019-01-22v2 merged to 4.4-0 * Removed dependency to python-ucs-school in univention-ldb-modules 9f14fde3384561f261a7c5ceb01709e6269507f4
083f014b6239a287ce1259d28944c9325bc783c9 - ucs-school-meta Removed creation of dns kerberos SPN from 96univention-samba4slavepdc.inst. Since bug #47955 create_spn_account.sh uses udm instead of samba to create the user account. Therefore we no longer need this workaround and can rely on the default mechanism from 98univention-samba4-dns.inst.
/tmp/apt-dpkg-install-7rXUeb/09-ucs-school-master_12.0.0-27A~4.4.0.201902191742_all.deb: Versuch, »/usr/lib/univention-install/62ucs-school-master.inst« zu überschreiben, welches auch in Paket ucs-school-backup 12.0.0-27A~4.4.0.201902191742 ist ucs-school-master: Failed to install Failed to install packages.
The metapackage ucs-school-backup has been removed again, since the join hook will now install ucs-school-master resp. ucs-school-singlemaster on DC backup systems. 806427056 Bug #47957: remove package ucs-school-backup
The UCS@school *slavepdc* joinscripts have been moved from univention-ldb-modules to ucs-school-metapackage. Also, a new metapackage for central slaves has been added. The metapackage for DC backups is not necessary, since the backup systems will use the master metapackage. Package: ucs-school-metapackage Version: 12.0.0-30A~4.4.0.201902220124 Branch: ucs_4.4-0 Scope: ucs-school-4.4 I diffed the UCR settings while updating from 4.3-3 to 4.4-0. They showed no unintended differences.
* ucs-school-singlemaster.install is missing 00ucs-school-app-version-check.inst and app_version.py, in case it is installed on a dc backup * ucs-school-central-slave.install is missing app_version.py, so 00ucs-school-app-version-check.inst currently fails
(In reply to Daniel Tröder from comment #11) > * ucs-school-singlemaster.install is missing > 00ucs-school-app-version-check.inst and app_version.py, in case it is > installed on a dc backup > > * ucs-school-central-slave.install is missing app_version.py, so > 00ucs-school-app-version-check.inst currently fails And in both cases a call_joinscript 00ucs-school-app-version-check.inst is missing in the postinst. The central slave postinst is additional missing "call_joinscript 62ucs-school-central-slave.inst"
(In reply to Daniel Tröder from comment #11) > * ucs-school-singlemaster.install is missing > 00ucs-school-app-version-check.inst and app_version.py, in case it is > installed on a dc backup > > * ucs-school-central-slave.install is missing app_version.py, so > 00ucs-school-app-version-check.inst currently fails Good points. Thanks. Fixed. (In reply to Jürn Brodersen from comment #12) > The central slave postinst is additional missing "call_joinscript > 62ucs-school-central-slave.inst" Unfortunately, that would be unused code by design. call_joinscript only calls the join script on DC master and DC backup system. In all other cases, nothing is done. That's why I removed the call_joinscript call from the postinst script. df5dde59c Bug #47957: added missing files to certain meta packages Package: ucs-school-metapackage Version: 12.0.0-39A~4.4.0.201902252136 Branch: ucs_4.4-0 Scope: ucs-school-4.4
jenkins -> OK central slave in multi server environment -> OK central slave in single server environment -> OK backup in multi server environment -> OK backup in single server environment -> FAIL I don't think we should track the backup in a single server environment in this bug. It is broken in 4.3 as well. See bug 48815. There is still a place holder for this bug in ucs-school-metapackage.yaml. But that should be ok since you are probably writing the changelog any ways :) -> Verified
UCS@school 4.4 v1 has been released. https://docs.software-univention.de/release-notes-ucsschool-4.4v1-de.html If this error occurs again, please clone this bug.