Bug 32445 - Samba unjoin script
Samba unjoin script
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba
UCS 3.1
Other Linux
: P5 enhancement (vote)
: UCS 3.2
Assigned To: Stefan Gohmann
Arvid Requate
: interim-2
Depends on:
Blocks: 30786
  Show dependency treegraph
 
Reported: 2013-09-02 09:10 CEST by Stefan Gohmann
Modified: 2013-11-19 06:41 CET (History)
0 users

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:11 CEST
An unjoin script for samba is missing.
Comment 1 Stefan Gohmann univentionstaff 2013-09-05 07:25:43 CEST
An unjoin script has been added.

Changelog: r43716
Code: r43715
Comment 2 Arvid Requate univentionstaff 2013-09-17 19:01:18 CEST
It works and changelog is Ok.

Three suggestions:

Maybe some more UCR variables should be unset in postrm:
* samba/max/protocol
* windows/wins-support

and in .uinst:
* samba/domain/security


Maybe the postrm should also work for the "purge" action of the package.
Comment 3 Stefan Gohmann univentionstaff 2013-09-18 07:43:06 CEST
(In reply to Arvid Requate from comment #2)
> It works and changelog is Ok.
> 
> Three suggestions:
> 
> Maybe some more UCR variables should be unset in postrm:
> * samba/max/protocol
> * windows/wins-support

Done

> and in .uinst:
> * samba/domain/security

Done
 
> 
> Maybe the postrm should also work for the "purge" action of the package.

See http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html, even in the purge scenario the package is called with remove first.
Comment 4 Arvid Requate univentionstaff 2013-09-18 11:32:42 CEST
Ok.
Comment 5 Stefan Gohmann univentionstaff 2013-11-19 06:41:26 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".