Failed to start UCS as master because of mussing hostname

Hello,

I decided to give UCS a try using it’s container image (https://wiki.univention.de/index.php?title=Docker) I hence started it with the following command:

podman run -it --name ucs --ip=10.88.0.66 -d --hostname=ucs -e domainname=domain.intranet -e nameserver1=192.168.0.5 -e rootpwd=root  -p 8011:80 -v /sys/fs/cgroup:/sys/fs/cgroup:ro --tmpfs /run --tmpfs /run/lock --cap-add=SYS_ADMIN univention/ucs-master-amd64 /sbin/init

It works great untill the Host Setting page which ask for the fqdn. The hostname field is greyed out with this message:

Hostname (unchangeable. Was set while creating the container)

Since it is empty, even when I enter a correct domain name, I get an error:

Fully qualified domain name:
No fully qualified domain name has been specified for the system.

HOSTNAME var is defined in the container and dig -x give the correct entry (ucs.domain.intranet) which I configured on my host system.

nameserver1 ist my localhost where dnsmaqs runs. I tried different values (127.0.0.1, pod ip …) none of them work.

Does anyone has an idea ?
I only found this old bugzilla on the web https://forge.univention.org/bugzilla/show_bug.cgi?id=38275

Thank you !! :slight_smile:

Mastodon