Bug 44575

Summary: App Appliance: Adapt system setup cleanup script
Product: UCS Reporter: Erik Damrose <damrose>
Component: System setupAssignee: Erik Damrose <damrose>
Status: CLOSED FIXED QA Contact: Dirk Wiesenthal <wiesenthal>
Severity: normal    
Priority: P5    
Version: UCS 4.2   
Target Milestone: UCS 4.2-0-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=44513
What kind of report is it?: Bug Report What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 2: Will only affect a 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.137 Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Appliance
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 44513, 44952    

Description Erik Damrose univentionstaff 2017-05-10 14:23:27 CEST
In App appliances, a prejoined domain environment can be enabled to have a fast demo experience with an App. A script is used to clean up remains of that setup, should a normal UCS domain setup be chosen during system setup.

The cleanup script has to be adapted for UCS 4.2
Comment 1 Erik Damrose univentionstaff 2017-05-10 14:30:27 CEST
The univention-portal joinscript could not be executed when setting up a new domain, because the ucs-local-to-domain portal entry object was not recreated. Adapted cleanup script to ensure the entry will be recreated by the joinscript

r79274 univention-system-setup 10.0.10-15A~4.2.0.201705101428
r79275 yaml
Comment 2 Erik Damrose univentionstaff 2017-06-15 09:24:20 CEST
Resolved, worked in my tests. For QA, a recent test build of a 4.2 App Appliance should be used. Select the setup of a new UCS domain in system setup, finish the setup and activate the appliance. The portal entry object 'ucs-local-to-domain should only contain the ip address and hostname that was selected in system setup.
Comment 3 Dirk Wiesenthal univentionstaff 2017-06-19 14:22:19 CEST
Code: OK
YAML: OK
Comment 4 Janek Walkenhorst univentionstaff 2017-06-19 15:04:55 CEST
<http://errata.software-univention.de/ucs/4.2/50.html>