Bug 41283

Summary: 'Normal' UCS domain setup does not work if fast demo modus is configured
Product: UCS Reporter: Erik Damrose <damrose>
Component: System setupAssignee: Erik Damrose <damrose>
Status: CLOSED FIXED QA Contact: Alexander Kläser <klaeser>
Severity: normal    
Priority: P5    
Version: UCS 4.1   
Target Milestone: UCS 4.1-2-errata   
Hardware: Other   
OS: Linux   
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?: 5: Will affect all installed domains How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.686 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: 40046    
Bug Blocks: 40006    

Description Erik Damrose univentionstaff 2016-05-17 15:04:18 CEST
See: Bug #40046 for description of the fast demo modus.

If fast demo modus is configured for an app appliance, the normal UCS domain setup does not work. There are several UCR variables configured due to the pre configured domain that are not overwritten by executing setup-join.sh. These have to be unset at the beginning of the join process.
Comment 1 Erik Damrose univentionstaff 2016-05-17 15:09:23 CEST
r69352 univention-system-setup 9.1.4-11.963.201605171506
Comment 2 Erik Damrose univentionstaff 2016-05-18 13:26:58 CEST
r69368 univention-system-setup 9.1.4-13.965.201605181322
Fixed parameter detection

QA: Test changed passwords for root + Administrator in Demo modus and 'Normal' domain setup with changed ldap/domain
Comment 3 Alexander Kläser univentionstaff 2016-06-21 11:04:24 CEST
As discussed, please replace "--demo-modus" with "--demo-mode" and use DEMO_MODE as flag (i.e., with "0" being false) to avoid misunderstandings, e.g.:

> DEMO_MODE=$(echo "$@" | grep -q "\-\-demo-modus" && echo 1)
Comment 4 Erik Damrose univentionstaff 2016-06-21 11:39:22 CEST
I renamed the parameter to --demo-mode and applied your suggestions.

r70464 univention-system-setup 
r70465 YAML
Comment 5 Alexander Kläser univentionstaff 2016-07-15 18:17:04 CEST
Changes: OK, code reviewed... complete test cases will be executed anyhow
YAML file: OK

→ VERIFIED
Comment 6 Janek Walkenhorst univentionstaff 2016-08-03 15:56:51 CEST
<http://errata.software-univention.de/ucs/4.1/234.html>