Bug 47957 - Update school role packages
Update school role packages
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 4.3
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v1
Assigned To: Sönke Schwardt-Krummrich
Jürn Brodersen
:
Depends on:
Blocks: 47942
  Show dependency treegraph
 
Reported: 2018-10-11 11:56 CEST by Felix Botner
Modified: 2019-03-12 10:58 CET (History)
5 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2018-10-11 11:56:39 CEST
Update UCS@school role packages for installation/setup/samba simplification.
Comment 1 Arvid Requate univentionstaff 2018-10-11 16:20:01 CEST
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
Comment 2 Jürn Brodersen univentionstaff 2019-01-14 11:47:21 CET
Updated branch: school/samba_vereinfachung_2018-12-06

on ucs and ucsschool
Comment 3 Ole Schwiegert univentionstaff 2019-01-17 12:31:12 CET
UCS Packages in branchtest:
http://10.200.18.180/debian/dists/schoolsambavereinfachung2019-01-17/
Comment 4 Ole Schwiegert univentionstaff 2019-01-17 12:53:42 CET
Package: ucs-school-metapackage
Version: 12.0.0-2A~4.4.0.201901171252
Branch: ucs_4.4-0
Scope: ucs-school-4.4
Comment 5 Ole Schwiegert univentionstaff 2019-01-17 12:54:53 CET
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
Comment 6 Felix Botner univentionstaff 2019-02-08 12:55:05 CET
* school/samba_vereinfachung_2019-01-22v2 merged to 4.4-0
* Removed dependency to python-ucs-school in univention-ldb-modules
  9f14fde3384561f261a7c5ceb01709e6269507f4
Comment 7 Felix Botner univentionstaff 2019-02-19 10:45:11 CET
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.
Comment 8 Sönke Schwardt-Krummrich univentionstaff 2019-02-20 14:20:13 CET
/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.
Comment 9 Sönke Schwardt-Krummrich univentionstaff 2019-02-21 17:10:41 CET
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
Comment 10 Sönke Schwardt-Krummrich univentionstaff 2019-02-22 01:43:26 CET
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.
Comment 11 Daniel Tröder univentionstaff 2019-02-25 17:18:46 CET
* 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
Comment 12 Jürn Brodersen univentionstaff 2019-02-25 18:14:56 CET
(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"
Comment 13 Sönke Schwardt-Krummrich univentionstaff 2019-02-25 21:38:29 CET
(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
Comment 14 Jürn Brodersen univentionstaff 2019-02-27 23:07:48 CET
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
Comment 15 Sönke Schwardt-Krummrich univentionstaff 2019-03-12 10:58:45 CET
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.