Bug 41283 - 'Normal' UCS domain setup does not work if fast demo modus is configured
'Normal' UCS domain setup does not work if fast demo modus is configured
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-2-errata
Assigned To: Erik Damrose
Alexander Kläser
Depends on: 40046
Blocks: 40006
  Show dependency treegraph
Reported: 2016-05-17 15:04 CEST by Erik Damrose
Modified: 2016-09-29 17:30 CEST (History)
0 users

See Also:
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:


Note You need to log in before you can comment on or make changes to this bug.
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

Comment 6 Janek Walkenhorst univentionstaff 2016-08-03 15:56:51 CEST