Bug 38679 - add option to disable univention-ldap-backup
add option to disable univention-ldap-backup
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.1-3-errata
Assigned To: Felix Botner
Stefan Gohmann
:
: 41430 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-10 11:26 CEST by Felix Botner
Modified: 2016-09-07 18:41 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Forked for project
Max CVSS v3 score:


Attachments
univention-ldap.patch (2.89 KB, patch)
2015-07-28 11:33 CEST, Felix Botner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2015-06-10 11:26:15 CEST
We need a UCR variable to disable the cron job /etc/cron.d/univention-ldap-server which call univention-ldap-backup.
Comment 1 Felix Botner univentionstaff 2015-07-28 11:33:34 CEST
Created attachment 7055 [details]
univention-ldap.patch
Comment 2 Michel Smidt 2016-06-14 09:59:46 CEST
*** Bug 41430 has been marked as a duplicate of this bug. ***
Comment 3 Felix Botner univentionstaff 2016-08-24 09:41:12 CEST
/etc/cron.d/univention-ldap-server is now a template. UCR slapd/backup to disable the cron job, slapd/backup/cron to configure the cron interval.

univention-ldap.yaml
merged to 4.2
Comment 4 Stefan Gohmann univentionstaff 2016-09-07 06:33:03 CEST
Basically it works. I think we should set default values and/or describe the possible values in the UCR variables description.

root@master411:~# ucr search slapd/backup
slapd/backup/cron: <empty>
 Cron interval for the slapd database backup.

slapd/backup: <empty>
 Activates/deactivates the slapd database backup (slapcat).

root@master411:~#
Comment 5 Felix Botner univentionstaff 2016-09-07 09:24:46 CEST
OK, univention-ldap-server now sets defaults for slapd/backup/cron and slapd/backup. Added defaults to description.

errata4.1-3
4.2-0
updated yaml
Comment 6 Stefan Gohmann univentionstaff 2016-09-07 12:18:03 CEST
Code review: OK

ucs-test: OK

Tests: OK

YAML: OK
Comment 7 Janek Walkenhorst univentionstaff 2016-09-07 18:41:37 CEST
<http://errata.software-univention.de/ucs/4.1/249.html>