Bug 31800 - samba/shares.conf should be updated before postrun
samba/shares.conf should be updated before postrun
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Arvid Requate
Tobias Peters
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-24 17:16 CEST by Arvid Requate
Modified: 2013-11-19 06:41 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
patch proposal (2.50 KB, patch)
2013-06-24 17:17 CEST, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2013-06-24 17:16:22 CEST
I think we should have the same bahaviour of the samba-shares listener in samba3 and samba4, so the patch for Bug #29399 should be ported to univention-samba4.

+++ This bug was initially created as a clone of Bug #29399 +++
Comment 1 Arvid Requate univentionstaff 2013-06-24 17:17:00 CEST
Created attachment 5286 [details]
patch proposal
Comment 2 Arvid Requate univentionstaff 2013-06-24 17:28:37 CEST
Fixed in ucs_3.2-0: univention-samba4/samba-shares.py now writes changes to /etc/samba/shares.conf.temp and then does an atomic rename to minimize the time of inconsistency.

Changelog adjusted.
Comment 3 Tobias Peters univentionstaff 2013-07-10 16:54:55 CEST
Working
Changelog Entry OK
Comment 4 Stefan Gohmann univentionstaff 2013-11-19 06:41:21 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".