Bug 40788 - 40R2: The output of import hooks is not flushed promptly
40R2: The output of import hooks is not flushed promptly
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.1
Other Linux
: P5 normal (vote)
: UCS@school 4.0 R2 Errata
Assigned To: Sönke Schwardt-Krummrich
Florian Best
:
Depends on: 40166
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-28 21:03 CET by Sönke Schwardt-Krummrich
Modified: 2017-06-23 18:36 CEST (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): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2016-02-28 21:03:50 CET
This fix has to be backported to 4.0R2

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

During import via CLI tools the output of input hook scripts is not flushed promptly/in time. So the output of 10 import hook instances is written as coherent region to the logfile. This makes debugging faily time consuming if not impossible.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2016-02-28 21:20:48 CET
ucs-school-import (11.0.0-6):
r67767 | Bug #40788: flush stdout and stderr before calling hook scripts

Package: ucs-school-import
Version: 11.0.0-6.240.201602282119
User: sschwardt
Branch: ucs_4.0-0
Scope: ucs-school-4.0r2
Comment 2 Florian Best univentionstaff 2016-03-01 10:40:33 CET
OK