Bug 52867 - Update to uvmm-schema package 9.0.2-14 may fail to start slapd when updating on multiple systems simultaneously
Update to uvmm-schema package 9.0.2-14 may fail to start slapd when updating ...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-7-errata
Assigned To: Erik Damrose
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-04 13:42 CET by Erik Damrose
Modified: 2021-03-08 10:09 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Regression
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2021-03-04 13:42:27 CET
Original Bug #51955

We shipped an update to register ldap schema, ACLs and udm modules in ldap instead of providing them in a debian package.

In a customer environment the following occured: The package update via policy started the installation simultaneously on DC Master and Backup. While the ldap registration was done on the Backup, the master was unpacking the package, moving and deleting files. The ldap_extension listener on the DC Master restarted slapd in a moment of inconsistency for the file slapd.conf, and slapd was unable to start:

Mar  3 20:38:56 hostname slapd[28913]: Starting ldap server(s): slapd ...failed.
Mar  3 20:38:56 hostname slapschema: could not stat config file "/usr/share/univention-ldap/schema/univention-virtual-machine-manager.schema": No such file or directory

In the previous update (package version 9.0.2-14), we moved the schema file to a different position before registering it in LDAP.

We provide an update that keeps the file position, so that the slapd.conf cannot get to a inconsistent state.
Comment 1 Erik Damrose univentionstaff 2021-03-04 13:49:47 CET
15134c75 Restore schema filesystem path to /usr/share/univention-ldap/schema/
f96028ea yaml
univention-virtual-machine-manager-schema 9.0.2-15A~4.4.0.202103041346
Comment 2 Felix Botner univentionstaff 2021-03-05 12:31:12 CET
OK - yaml
OK - univention-virtual-machine-manager-schema update (interim and direct)