Bug 47332 - The s4-connector is never restarted during setup if installed prior to ucs@school
The s4-connector is never restarted during setup if installed prior to ucs@sc...
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Samba 4
UCS@school 4.3
Other Linux
: P5 normal (vote)
: UCS@school 4.3 v5
Assigned To: Jürn Brodersen
Daniel Tröder
:
Depends on:
Blocks: 44310
  Show dependency treegraph
 
Reported: 2018-07-10 14:48 CEST by Jürn Brodersen
Modified: 2018-09-11 11:34 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.103
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 Jürn Brodersen univentionstaff 2018-07-10 14:48:35 CEST
The s4-connector is never restarted during setup if installed prior to ucs@school

A lot of ucr variables that are set during the @school setup take only effect after an univention-s4-connector restart.

For example connector/s4/mapping/group/syncmode=write
Comment 1 Jürn Brodersen univentionstaff 2018-07-12 15:02:59 CEST
[4.3 cc1bc5e52] Bug #47332: restart s4-connector to activate new config
[4.3 d16ed4260] Bug #47332: yaml
Comment 2 Daniel Tröder univentionstaff 2018-07-30 08:43:27 CEST
The connector restart has not been in the join sripts / postinst, because a system restart is assumed. The documentation says:
-------------
Installation und Konfiguration von UCS@school sollten mit einem Neustart des Systems abgeschlossen werden.
-------------
But a) it doesn't say it's mandatory, and b) I think it's good the installation puts the system in a correct state as much and early as possible.

A restart may still required, because if the connector was not running, it won't be started by the "try-restart".

OK: code change
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2018-09-11 11:34:17 CEST
UCS@school 4.3 v5 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.3v5-de.html

If this error occurs again, please clone this bug.