Bug 31001 - Reduce number of initramfs-scripts that are creating ldap connections
Reduce number of initramfs-scripts that are creating ldap connections
Status: CLOSED WONTFIX
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: initrd
unspecified
Other Linux
: P5 normal
: UCC 2.x
Assigned To: UCC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-09 13:06 CEST by Erik Damrose
Modified: 2023-06-28 10:33 CEST (History)
5 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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