Univention Bugzilla – Bug 52934
Docker container must have synchronized UCRV of the host
Last modified: 2021-05-11 15:47:34 CEST
The last update of the Kelvin API causes a disfunctional import at the customer environment. The reason was, that the UCRV of the host are not in the container. Especially in the kelvin api app/container this problem will cause many support tickets the more the API will be used.
If we will dockerize more and more apps and services, we need a mechanism to synchronize our heart of configuration to these docker container.
There are already ideas and also a PoC created.
Another customer wanted to override the max length for the username which is set to 20 by default using UCRV ucsschool/username/max_length and tried to define it on the host.
This did not work for obvious reasons. The definition of the UCRV inside the container will not survive the next update of the Kelvin-API unless there is a generic solution.
To comment 2: Workaround is to write a custom hook script: https://docs.software-univention.de/manual-4.4.html#computers:Installation_and_Remove_hooks
The workaround does not reduce the importance of this bug report.