Bug 32451 - S4 connector unjoin script
S4 connector unjoin script
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 3.1
Other Linux
: P5 enhancement (vote)
: UCS 3.2
Assigned To: Stefan Gohmann
Felix Botner
: interim-2
Depends on:
Blocks: 30786
  Show dependency treegraph
 
Reported: 2013-09-02 09:10 CEST by Stefan Gohmann
Modified: 2013-11-19 06:43 CET (History)
1 user (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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2013-09-02 09:10:29 CEST
An unjoin script for the S4 connector is missing.
Comment 1 Stefan Gohmann univentionstaff 2013-09-04 20:39:59 CEST
An unjoin script has been added.

Code: r43710
Changelog: r43711
Comment 2 Stefan Gohmann univentionstaff 2013-09-05 07:10:58 CEST
Restart listener in postrm of univention-s4-connector: r43712
Comment 3 Arvid Requate univentionstaff 2013-09-18 11:52:18 CEST
Typo in uinst: connector/ad/mapping/group/language  (ok, goes back to a typo in postinst, I filed Bug 32629 for that, maybe it makes sense to fix that as well?).


I guess we should also remove the directory
specified by the UCR variable connector/s4/listener/dir
which defaults to /var/lib/univention-connector/s4.
See the s4-connector.py listener for more stuff in that direction.
Comment 4 Stefan Gohmann univentionstaff 2013-09-18 12:43:25 CEST
(In reply to Arvid Requate from comment #3)
> Typo in uinst: connector/ad/mapping/group/language  (ok, goes back to a typo
> in postinst, I filed Bug 32629 for that, maybe it makes sense to fix that as
> well?).

Let's fix Bug 32629 at a later point. The unjoin script now removes connector/s4/ad/mapping/group/language.

> 
> I guess we should also remove the directory
> specified by the UCR variable connector/s4/listener/dir
> which defaults to /var/lib/univention-connector/s4.
> See the s4-connector.py listener for more stuff in that direction.

OK, but only if connector/s4/listener/dir is unchanged.
Comment 5 Felix Botner univentionstaff 2013-09-19 14:11:33 CEST
remove listener handler after listener restart in postrm
Comment 6 Stefan Gohmann univentionstaff 2013-09-19 14:18:28 CEST
(In reply to Felix Botner from comment #5)
> remove listener handler after listener restart in postrm

done: r44233
Comment 7 Felix Botner univentionstaff 2013-09-19 15:24:26 CEST
OK - files in /var/lib/univention-connector/s4 are removed
OK - service entry is removed
OK - listener handler is removed
OK - reinstallation works fine
OK - Changelog
Comment 8 Stefan Gohmann univentionstaff 2013-11-19 06:43:35 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".