Univention Bugzilla – Bug 35928
Do not configure IPv4 link local address as dhcp lease
Last modified: 2020-07-03 20:52:16 CEST
When no IP address can be configured during an UCS boot, dhclient reads its config file dhclient.conf and checks for a previous lease that is still valid. During UCS boot we write a link-local address as a previous lease to the dhclient.conf, which is read by dhclient which subsequently configures that address for eth0 if no DHCPOFFER is received. The problem here is, that we write a link local address, which could never have been obtained via dhcp. The following problem may then occur: dhclient configures the link local address and broadcasts this fact to all listening dhcp servers. We had a dnsmasq running on another dev-machine, which promptly sends a DHCPNAK back. Thus, no IPv4 address is configured for eth0. In my case, the univention-system-setup/umc-web-server/umc-server/apache proxy-connection setup failed, and system setup does not load. Solution: Do not configure the link local address via dhclient.conf, but by other means
You can disable the fallback behavior by UCRV dhclient/linklocal/fallback=0 @Stefan: why do we need the fallback link-local address at all?
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.