Bug 30499 - UCS@school meta packages should depend on UMC installer
UCS@school meta packages should depend on UMC installer
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Installer
UCS@school 3.1
Other Linux
: P1 normal (vote)
: UCS@school 3.1 R2
Assigned To: Sönke Schwardt-Krummrich
Felix Botner
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-19 14:26 CET by Dirk Wiesenthal
Modified: 2013-06-07 21:40 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
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 Dirk Wiesenthal univentionstaff 2013-02-19 14:26:46 CET
If the App UCS@school is uninstalled, the meta packages (e.g. ucs-school-master) are kept as only the installer will be removed. They should have a dependency on that installer to be automatically removed when the App is uninstalled.
Comment 1 Dirk Wiesenthal univentionstaff 2013-02-19 14:27:58 CET
See also Bug#30211
Comment 2 Florian Best univentionstaff 2013-05-07 17:14:57 CEST
Package: ucs-school-metapackage
Version: 5.0.9-9.96.20130507104

Changelog has been added.

Reverse Depends: 
  ucs-school-singlemaster,ucs-school-umc-installer
  ucs-school-slave,ucs-school-umc-installer
  ucs-school-master,ucs-school-umc-installer
Comment 3 Florian Best univentionstaff 2013-05-14 11:24:41 CEST
The LDAP schema is now also prevented from being uninstalled.

ucs-school-import (9.0.11-2) 
ucs-school-umc-helpdesk (7.0.4-2
* Bug #30499: don't remove schema when uninstalling
Comment 4 Felix Botner univentionstaff 2013-05-22 16:15:20 CEST
Strange behavior on the master after update from ucs@school (UCS Master + Slave with ucs@school -> Update to ucs@school R2).

-> ucr commit /etc/ldap/slapd.conf
Failed to process Subfile /etc/univention/templates/files/etc/ldap/slapd.conf.d/11univention-ucs-school-import-custom-schema
Failed to process Subfile /etc/univention/templates/files/etc/ldap/slapd.conf.d/11umc-helpdesk_schema
Multifile: /etc/ldap/slapd.conf

-> more ucs-school-import-schema.info 
Type: multifile
Multifile: etc/ldap/slapd.conf
Variables: server/role

Type: subfile
Multifile: etc/ldap/slapd.conf
Subfile: etc/ldap/slapd.conf.d/11univention-ucs-school-import-custom-schema
Variables: server/role

-> ls /etc/univention/templates/files/etc/ldap/slapd.conf.d/11univention-ucs-school-import-custom-schema
ls: Zugriff auf /etc/univention/templates/files/etc/ldap/slapd.conf.d/11univention-ucs-school-import-custom-schema nicht möglich: Datei oder Verzeichnis nicht gefunden
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2013-05-23 21:59:00 CEST
(In reply to comment #4)
> Strange behavior on the master after update from ucs@school (UCS Master + Slave
> with ucs@school -> Update to ucs@school R2).
[...]

Since UCS@school 3.1R2 the LDAP schema files of import scripts and helpdesk will be registered via ucs_registerLDAPSchema(). Because of this, the old UCR subtemplates for including LDAP schema files in slapd.conf have been removed from ucs-school-import-schema and ucs-school-umc-helpdesk-schema.

Unfortunately the UCR-info-file has not been deregistered before removing the subtemplate. This has been fixed in both packages.

The command "ucr commit /etc/ldap/slapd.conf" now prints no error message anymore.

ucs-school-umc-helpdesk (8.0.0-2) unstable; urgency=low
ucs-school-import (10.0.0-2) unstable; urgency=low
Comment 6 Felix Botner univentionstaff 2013-05-24 10:34:47 CEST
OK - app deinstallation (no more ucs-school packages installed)
OK - ucr commit slapd.conf
OK - changelog
Comment 7 Sönke Schwardt-Krummrich univentionstaff 2013-06-07 21:40:09 CEST
UCS@school 3.1 R2 has been released:
http://download.univention.de/doc/release-notes-ucsschool-3.1-rev2.pdf

If this error occurs again, please use "Clone This Bug".