Bug 45001

Summary: Start S4 Connector in foreground without daemonizing
Product: UCS Reporter: Florian Best <best>
Component: S4 ConnectorAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Arvid Requate <requate>
Severity: normal    
Priority: P5 Flags: best: Patch_Available+
Version: UCS 4.2   
Target Milestone: UCS 4.2-1-errata   
Hardware: Other   
OS: Linux   
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?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Troubleshooting
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 45037    
Attachments: patch

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>