The function clean_old_backups in /usr/share/univention-lib/backup.sh ignores the ucr variable backup/clean/min_backups because of a typo in line 45: eval "$(univention-config-registry shell backup/clean/min/backups backup/clean/max_age)" min/backups should read min_backups The customer pointed out the mistake and provided a solution/patch in the ticket.
Another customer is affected and runs into trouble with disk space because of this bug.
1a1dfc14a4 | Fix typo n UCR backup/clean/min_backups Package: univention-lib Version: 9.0.19-2 Branch: 5.0-0 Scope: errata5.0-8
Lean bug verification: * Fix and merge via feature branch * Successful installation of new package from apt * Advisory Ok This update addresses the following issues: * A typo in evaluation of the UCR variable `backup/clean/min_backups` caused that the specified limit was not considered but instead the default value of `10` was applied. This has been fixed.
f9601ed34e | cherry-pick to 5.2-0 Package: univention-lib Version: 11.0.8 Branch: 5.2-0
<https://errata.software-univention.de/#/?erratum=5.0x1115>