Bug 52962 - Provide unjoin script for univention-dansguardian
Summary: Provide unjoin script for univention-dansguardian
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: Dansguardian
Version: UCS 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 4.4-7-errata
Assignee: Florian Best
QA Contact: Sebastian Lobinger
URL:
Keywords:
Depends on: 51483
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-19 17:01 CET by Florian Best
Modified: 2021-04-07 14:45 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-03-19 17:01:25 CET
It should be possible to purge univention-dansguardian.
A unjoin script should be provided.

+++ This bug was initially created as a clone of Bug #51483 +++
Comment 1 Florian Best univentionstaff 2021-03-22 19:58:55 CET
Added a unjoin script which removes the host from the Nagios check, unsets various UCR variables (also squid/virusscan and squid/contentscan, which are only for dansguardian integration).

univention-dansguardian.yaml
d552ab9e89ad | YAML Bug #52962

univention-dansguardian (12.0.1-3)
e8bb2609cb90 | Bug #52962: add unjoin script
Comment 2 Florian Best univentionstaff 2021-03-22 20:43:39 CET
A unjoinscript for univention-nagios-dansguardian has also been added, which removes the nagios service if there is no remaining host using it.

univention-nagios-servicechecks.yaml
46809234f86f | YAML Bug #52962

univention-nagios-servicechecks (8.0.1-2)
fe7e6cc2bee7 | Bug #52962: add unjoinscript for univention-nagios-dansguardian

univention-dansguardian (12.0.1-3)
9fffb3e884e7 | fixup! Bug #52962: add unjoin script
Comment 3 Florian Best univentionstaff 2021-03-31 18:43:13 CEST
Another commit for cleaning up leftover configuration files written by UCR has been done:

d7533ec7b104 | fixup! Bug #52962: add unjoinscript for univention-nagios-dansguardian
16bc2dcc80a2 | fixup! Bug #52962: add unjoin script