Bug 45001 - Start S4 Connector in foreground without daemonizing
Start S4 Connector in foreground without daemonizing
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-1-errata
Assigned To: Florian Best
Arvid Requate
:
Depends on:
Blocks: 45037
  Show dependency treegraph
 
Reported: 2017-07-14 13:17 CEST by Florian Best
Modified: 2017-07-26 14:39 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
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?:
Ticket number:
Bug group (optional): Troubleshooting
Max CVSS v3 score:
best: Patch_Available+


Attachments
patch (1.71 KB, patch)
2017-07-17 19:01 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2017-07-14 13:17:47 CEST
It should be possible to start the S4 Connector in foreground without daemonizing it.
This makes it possible to debug things faster by importing PDB and set breakpoints.

The only thing which is necessary to do this is to:
uncomment the daemon() function call.
don't redirect sys.stdout to the opened file.
Comment 1 Florian Best univentionstaff 2017-07-17 19:01:21 CEST
Created attachment 9038 [details]
patch
Comment 2 Florian Best univentionstaff 2017-07-18 16:06:50 CEST
univention-s4-connector (11.0.7-16):
r81225 | Bug #45001: add possibility to start S4 connector in foreground

univention-s4-connector.yaml:
r81226 | YAML Bug #45001
Comment 3 Arvid Requate univentionstaff 2017-07-25 17:37:53 CEST
Ok.
Comment 4 Erik Damrose univentionstaff 2017-07-26 14:39:43 CEST
<http://errata.software-univention.de/ucs/4.2/114.html>