Univention Bugzilla – Bug 46486
sysvol-sync.sh: process lock doesn't work as intended.
Last modified: 2018-03-28 13:28:37 CEST
Line 327f in sysvol-sync.sh: # get a lock, prevent script from running twice flock -un 9 || exit 0 -u drops a lock ("unlock") on the given file descriptor. To reproduce add a read after the flock command and run sysvol-sync.sh 2 times. Two processes should wait for input. Removing the -u option makes all subsequent processes exit as intended.
uh, bummer.
Move to 4.3-0-errata. If a UCS 4.2 backport is needed, please clone this issue.
univention-samba4: 68c51de421b52458b48143973a8c8fa4bd55ffba removed -u from flock yaml: 5b02ac00e9cad9642eeb4498b0af310d19a26492
Ok, works now.
<http://errata.software-univention.de/ucs/4.3/5.html>