Univention Bugzilla – Bug 41443
Squid Join-Script may fail when S4 Replication takes longer than expected
Last modified: 2016-09-29 21:42:13 CEST
Script '98univention-squid-samba4.inst' only waits up to 5 mins for replication of the squid user. In environments with many objects the replication might take quite longer so the script will fail. This issue especially points to UCS@School environments. See also Ticket #2016051821000246 A good solution might be to wait longer (probably configurable via ucr). Also the check might only be performed every 10 secs.
univention-squid-kerberos/98univention-squid-samba4.inst * sleep 10 seconds in search loop * timeout is configurable via squid/kerberos/join/timeout (default 300) univention-squid-kerberos.yaml
Code review: Failed It is a little bit confusing. You've added a new UCR variable squid/kerberos/join/timeout and the value * 10 is the timeout in seconds. If a new UCR variable is added, it should be documented and it should use a standard unit for example seconds. Otherwise increase simply the timeout from 5 to 20 minutes.
added ucr description fixed timeout unit univention-squid-kerberos: 5.0.1-3.23.201606080913
OK, that looks better. Tests and YAML file are OK.
<http://errata.software-univention.de/ucs/4.1/192.html>