Univention Bugzilla – Bug 35721
Fix apache2 startsite timing issue in EC2 appliance mode
Last modified: 2014-12-02 13:42:20 CET
Created attachment 6074 [details]
Move the configuration of UCRV apache2/startsite to an earlier initscript
Errata 160 introduced a "first steps" site, which is shown on unjoined ec2 instances when accessing http://<ucs>/
There is a timing issue with the original solution. A time window exists when apache is running with the startsite set to the old UMC login.
Solution: Move the configuration of UCRV apache2/startsite to an earlier initscript, before apache2 is started: univention-system-setup-boot-prepare
After this has been fixed, update http://wiki.univention.de/index.php?title=UCS_Appliance#Preparing_Amazon_EC2_Images and remove the workaround.
+++ This bug was initially created as a clone of Bug #34388 +++
Patch applied. The startsite is now configured at an earlier stage in the boot process.
r53138 univention-system-setup 7.0.69-53
r53141 Merge to UCS4 (v8.0.32-2)
Code review: OK
Race condition gone: OK