Univention Bugzilla – Bug 31001
Reduce number of initramfs-scripts that are creating ldap connections
Last modified: 2023-06-28 10:33:04 CEST
+++ This bug was initially created as a clone of Bug #30441 +++ Setup: UCS Master and UCS Slave, DHCP DNS Policy with both hosts as nameservers and a UCC Client with ldap/server/addition set to the slave. Booting the client if the master is down takes about 5 minutes. --- The initial bug has been partly fixed by starting the loopback interface in the initramfs script ucc. Remaining big delays are the result of 3 scripts that each create a ldap connection and have to wait for a timeout when the ldap master is not available and when the first dns server (the master) is unreachable. Each script runs for about 20 seconds contrary to a 3 second runtime when the client is booted (due to DNS being handled by dnsmasq). generate_upgrade_script univention-ucc-boot-option get_boot_mount_option.sh The 3 scripts should be merged into one script that is called in the initrd to greatly reduce boot time.
UCC is EoL