Bug 51376

Summary: Repository restriction adaptions for UCS 4.3-5-errata updater
Product: UCS Reporter: Erik Damrose <damrose>
Component: Update - univention-updaterAssignee: Erik Damrose <damrose>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P5    
Version: UCS 4.3   
Target Milestone: UCS 4.3-5-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Release Management 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:

Description Erik Damrose univentionstaff 2020-06-02 11:52:13 CEST
UCS 4.3 is out-of-maintenance. We need to unset the UCR variable license/extended_maintenance/disable_warning if license/extended_maintenance/disable_warning/set_by_435-updater is set to true. In this case, license/extended_maintenance/disable_warning/set_by_435-updater should be removed as well.

Initial implementation for removing the warning was done at bug 50334

+++ This bug was initially created as a clone of Bug #49105 +++
Comment 1 Erik Damrose univentionstaff 2020-06-02 11:58:40 CEST
631dfa61 Show updater warning
univention-updater 13.0.1-76A~4.3.0.202006021156
Branch: ucs_4.3-0
Scope: errata4.3-5

univention-updater.yaml
Comment 2 Felix Botner univentionstaff 2020-06-02 12:38:05 CEST
FAIL - YAML

hmm "Deactivate extended security maintenance message", is this really what this change does (activate would be more appropriate)?

"src: univention-directory-replication" 

OK - univention-updater

(a)

license/extended_maintenance/disable_warning/set_by_435-updater: true
license/extended_maintenance/disable_warning: true

update

license/extended_maintenance/disable_warning: <empty>

=> warning is active

(b)

license/extended_maintenance/disable_warning: true
(removed set_by_435-updater)

update

license/extended_maintenance/disable_warning: true

=> no warning
Comment 3 Erik Damrose univentionstaff 2020-06-02 12:54:15 CEST
6b9dd451fd update yaml
Comment 4 Felix Botner univentionstaff 2020-06-02 12:58:18 CEST
OK - yaml
Comment 5 Erik Damrose univentionstaff 2020-06-03 12:57:54 CEST
<http://errata.software-univention.de/ucs/4.3/682.html>