Univention Bugzilla – Bug 35601
System setup wizard does not apply changed IP settings if dhcp was preconfigured
Last modified: 2014-08-14 11:54:17 CEST
univention-system-setup version 7.0.69-50 While preparing new images, i found the following error: UCS is installed with univention-system-setup-boot, the network is configured for DHCP. When using the system setup wizard and the system receives a valid IP address from a DHCP server, it will keep this address even after system setup finishes. That is, i can disable the interface DHCP option and enter a different IP address. System setup will even show me the supposed new address in the final configuration step, but the IP address is never changed. This is confusing for users, as they expect the system to be available at the new IP address.
The profile that is written by the wizard reads interfaces/eth0/type="dhcp", the new ip address is now present
(In reply to Erik Damrose from comment #1) > the new ip address is now present That should have read _not_ instead of now
The backend read the current interface configuration from UCR and the added the config values returned by the frontend. Given that the frontend does only specify the boolean value "ip4dynamic" if DHCP was enabled, it was impossible to switch from DHCP to static network configuration. The frontend now always sends the boolean value "ip4dynamic" and the backend assumes "false" if the frontend did not send the value. 2014-08-12-univention-system-setup.yaml
OK: Always apply network configuration (activated checkbox with DHCP available/unavailable, deactivated checkbox with DHCP available/unavailable) OK: 2014-08-12-univention-system-setup.yaml Verified
Note: the patch has also been ported to UCS 4.0-0
http://errata.univention.de/ucs/3.2/179.html