Bug 56736 - clean_old_backups ignores backup/clean/min_backups
clean_old_backups ignores backup/clean/min_backups
Status: NEW
Product: UCS
Classification: Unclassified
Component: univention-lib
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-10-17 10:48 CEST by Finn David
Modified: 2023-10-18 08:42 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023101721000037
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Finn David univentionstaff 2023-10-17 10:48:28 CEST
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.