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.
Move to 4.3-0-errata. If a UCS 4.2 backport is needed, please clone this issue.
removed -u from flock
Ok, works now.