Bug 40417 - Prevent update if DC Master has not been updated before (4.0)
Prevent update if DC Master has not been updated before (4.0)
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.1-x
Assigned To: UCS maintainers
:
Depends on: 37260
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-12 13:26 CET by Arvid Requate
Modified: 2019-01-03 07:16 CET (History)
5 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?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Troubleshooting
Max CVSS v3 score:
best: Patch_Available+


Attachments
univention-updater-r64829.patch (2.21 KB, patch)
2016-01-12 13:27 CET, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2016-01-12 13:26:34 CET
Bug 37260 fixed this for the update to UCS 4.1, we should also fix this for UCS 4.0. The patch is an adjusted preup.sh, only one UCR variable would need to be adjusted, see attachment.


+++ This bug was initially created as a clone of Bug #37260 +++

Currently it is possible to upgrade a DC Backup/Slave/Member to UCS 4.0 without upgrading the DC Master first. This is neither supported nor desirable and can lead to numerous errors. 

This is even worse since the "Release Updates" section of the Software Update module defaults to "UCS 4.0-0", even if there is still an update to e.g. 3.2-4 available. This way, updating to 4.0 can easily be achieved by accident.

We should prevent this and show an appropriate dialog that says something like "Your domain controller master is still on version x.y-z, it is strongly recommended that the master domain controller is always the first system to be updated during a release update. Are you sure that you want to continue?"

See also Ticket#2014120821000086
and http://forum.univention.de/viewtopic.php?f=48&t=3619
Comment 1 Arvid Requate univentionstaff 2016-01-12 13:27:28 CET
Created attachment 7401 [details]
univention-updater-r64829.patch
Comment 2 Florian Best univentionstaff 2017-06-28 14:52:18 CEST
There is a Customer ID set so I set the flag "Enterprise Customer affected".
Comment 3 Stefan Gohmann univentionstaff 2019-01-03 07:16:15 CET
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016.

Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.