Bug 31001

Summary: Reduce number of initramfs-scripts that are creating ldap connections
Product: Z_Univention Corporate Client (UCC) Reporter: Erik Damrose <damrose>
Component: initrdAssignee: UCC maintainers <ucc-maintainers>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: botner, gohmann, grandjean, jmm, steuwer
Version: unspecified   
Target Milestone: UCC 2.x   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Erik Damrose univentionstaff 2013-04-09 13:06:06 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.
Comment 1 Philipp Hahn univentionstaff 2023-06-28 10:30:37 CEST
UCC is EoL