Bug 40392 - Running Samba 4 during rejoin on a school slave
Running Samba 4 during rejoin on a school slave
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Samba 4
UCS@school 4.1
Other Linux
: P5 normal (vote)
: UCS@school 4.1 Errata
Assigned To: Arvid Requate
Sönke Schwardt-Krummrich
:
Depends on: 40390
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-08 07:07 CET by Stefan Gohmann
Modified: 2016-01-17 23:30 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 2016-01-08 07:07:09 CET
Should be fixed for 4.1 as well.

+++ This bug was initially created as a clone of Bug #40390 +++

See Bug #40389. The Samba 4 service is stopped at the beginning of univention-join but it is started in 62ucs-school-slave.inst. If available, crestart should be used.

Ticket #2015121821000547
Comment 1 Arvid Requate univentionstaff 2016-01-12 16:28:59 CET
Successful build
Package: ucs-school-metapackage
Version: 8.0.1-5.167.201601121627
User: arequate
Branch: ucs_4.1-0
Scope: ucs-school-4.1
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2016-01-13 13:46:02 CET
In 62ucs-school-slave.inst and 62ucs-school-nonedu-slave.inst right after restarting samba, 
- samba4/join/site is set and 
- secrets.ldb and sam.ldb are moved away.

This code branch is only executed if "$JS_LAST_EXECUTED_VERSION -lt 1", so my questions are:
1) is there any case where samba is really restarted during (re)join?
2) in case samba is restarted: is it a good idea to set the site afterwards and 
   move the ldb files away while samba is running?
Comment 3 Arvid Requate univentionstaff 2016-01-14 20:42:38 CET
See Bug #40390 Comment 3.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2016-01-17 23:27:32 CET
OK: code change
OK: functional test
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2016-01-17 23:30:09 CET
UCS@school 4.1 v4 has been released.

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