Bug 40390 - 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.0 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.0 R2 Errata
Assigned To: Arvid Requate
Sönke Schwardt-Krummrich
:
Depends on:
Blocks: 40392
  Show dependency treegraph
 
Reported: 2016-01-08 07:04 CET by Stefan Gohmann
Modified: 2016-01-17 23:31 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:04:51 CET
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:45 CET
Successful build
Package: ucs-school-metapackage
Version: 7.0.3-7.168.201601121627
User: arequate
Branch: ucs_4.0-0
Scope: ucs-school-4.0r2
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2016-01-13 13:45:53 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-13 15:10:22 CET
I would say that is a separate issue and I created Bug 40424 for that, but I also agree that it is more efficient to fix that now.
Comment 4 Arvid Requate univentionstaff 2016-01-13 15:39:41 CET
Fixing Bug 40424 needs thorough testing that would adverse the current time frame.

Bug 40424 has been present for a long time and fixing this Bug here shouldn't cause a regression in that area. In the contrary, it should help avoid that issue all together in most cases.
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2016-01-17 23:27:29 CET
OK: code change
OK: functional test
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2016-01-17 23:31:19 CET
UCS@school 4.0 R2 v6 has been released.

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