Univention Bugzilla – Bug 52313
multiple ldap-backup instances result in process getting stuck
Last modified: 2020-11-05 09:23:29 CET
Calling the backup service for ldap twice on the same day results in the process getting stuck. The backup service is controlled by cron and should only run once a day. But since the script can be called by administrative users it is possible that this behavior can occur. The reason for this Bug is that if the zip files are already generated gzip will ask the user if the files shall be overridden. But since the output of gzip will be send to /dev/null this message is never shown. gzip will block the process until it is killed or the user gives input. Possible solution: set the needed flag on the gzip call so that it will override the found files.