Univention Bugzilla – Bug 48058
UCS Docker image: Netmask could not be verified
Last modified: 2023-01-26 11:31:50 CET
A user reported about the docker image that the locale is not set correctly. The container is started with: sudo docker run -it --name ucs-master -h ucs-master --restart=unless-stopped -p 8020:80 \ -e "TZ=Europe/Berlin" \ -e domainname=master.fritz.box \ -e rootpwd=pass \ -e container=docker \ -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ --tmpfs /run --tmpfs /run/lock \ --cap-add=SYS_ADMIN \ -d univention/ucs-master-amd64:latest /sbin/init After applying workaround in Bug #48057 a new message appeared saying "Netmask could not be verified". In Docker console, lookup with "ucr search netmask" said it was empty. A >ucr set interfaces/eth0/netmask="255.255.0.0"< fixed it.
Has been in univention/ucs-master-amd64:4.4-0 , which is tagged as "latest" currently and will get pulled by default. The fix happend with commit c7ece8de3b to package uinvention/ucs/container/univention-docker-container-mode and then building new images. It's not fixed in the 4.3-2 images. *** This bug has been marked as a duplicate of bug 46665 ***