Univention Bugzilla – Bug 43381
Regression: Join hangs because of upper/lowercase mismatch
Last modified: 2017-02-08 14:22:55 CET
Bug #39068 r75074 introduced a hostname (line 629) call to univention-join. That call does not redirect its stderr output to stdin, the following happens:
A new appbox docker image was created. When that image joins, the call to hostname fails with
hostname: you must be root to change the host name
The problem is, that the appcenter catches this output, and displays it as an error popup at the end of each app installation; i.e. for apps that use the 4.1-4 appbox image and download the new version.
+++ This bug was initially created as a clone of Bug #39068 +++
Added >>/var/log/univention/join.log 2>&1 in univention-join to hostname call.
(merged to 4.2-0)
also added test 80_docker/40_app_umc_install_latest_appbox, this tests
* tries to find the latest appbox tag (4.1-4 currently)
* creates a local app with this appbox image version
* installs the app via python umctest
* fails if there are 'WARNING', 'ERROR', 'CRITICAL' messages during the
At the moment the test fails with "hostname: you must be root to change the host name" (due to this bug), but once this is fixed and the 4.1-4 basec appbox image is updated, the test should be good.
~OK: ucs-4.2-0@76217 → needs debian/changelog and build
OK: ucs-4.2-0@76212 tests/80_docker/40_app_umc_install_latest_appbox
OK: ucs-4.1-4@76215 YAML
OK: ucs-4.1-4@76216 univention-join
OK: ucs-4.1-4@76243 YAML
OK: ucs-4.1-4@76248 YAML
OK: ucs-4.1-4@76211 tests/80_docker/40_app_umc_install_latest_appbox
OK: errata-announce -V --only univention-join.yaml