Univention Bugzilla – Full Text Bug Listing |
Summary: | Block UCS 4.2 update to 4.3 with ox app installed due to schema registration | ||
---|---|---|---|
Product: | UCS | Reporter: | Erik Damrose <damrose> |
Component: | Update - Release updates | Assignee: | Erik Damrose <damrose> |
Status: | CLOSED FIXED | QA Contact: | Sönke Schwardt-Krummrich <schwardt> |
Severity: | normal | ||
Priority: | P5 | CC: | troeder |
Version: | UCS 4.3 | ||
Target Milestone: | UCS 4.3-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=47549 | ||
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: | |||
Bug Depends on: | |||
Bug Blocks: | 47581 |
Description
Erik Damrose
2018-08-09 12:25:31 CEST
New problem: the LDAP schema is always marked ACTIVE but not used. It looks like we have to check the UCR variable ox/master/42/registered_ldap_acls on the DC master. Unless it's set to "yes", we have to stop the update. New logic: The OX app is installed locally *AND* ( the OX schema is not present in LDAP *OR* on DC master is UCR variable ox/master/42/registered_ldap_acls != "yes" ) df10f74 Adapt preup for OX test if the app is installed by checking for the default package. Only then checks for the UCRv and ldap schema is run. The check for the UCRv is logging into the master via ssh regardless the server role. The output of both checks is dumped to updater.log for debugging The sdb article should be filled with information how to fix the issue: https://help.univention.com/t/9440 Set UCRv update43/ignore_ox_schema_issue to true to avoid the preup abort. The blocking has worked in my tests. Found some logic bugs → REOPEN Thanks Sönke for the suggestions. I applied them and pushed the preup to the test servers. a293f51b Adapt 4.3-0 preup for OX As discussed, i pushed the preup to the public repository server http://updates.software-univention.de/4.3/maintained/4.3-0/all/ OK: code change OK: manual test OK: signature |