Bug 37604 - start univention-cli-server in foreground
start univention-cli-server in foreground
Status: RESOLVED DUPLICATE of bug 40422
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-23 13:23 CET by Florian Best
Modified: 2018-04-13 13:28 CEST (History)
2 users (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):
Max CVSS v3 score:


Attachments
patch (3.05 KB, patch)
2015-01-23 14:21 CET, 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 2015-01-23 13:23:52 CET
It would be nice if one could start univention-cli-server in foreground using some parameters for debug level and logfile:

univention-cli-server -n -d4 -L /dev/stderr
Comment 1 Florian Best univentionstaff 2015-01-23 14:21:37 CET
Created attachment 6629 [details]
patch

usage: univention-cli-server [-h] [-n] [-L LOGFILE] [-d DEBUG_LEVEL]
                             [-t TIMEOUT]

optional arguments:
  -h, --help      show this help message and exit
  -n              Run in foreground without daemonizing
  -L LOGFILE      logfile: /var/log/univention/directory-manager-cmd.log
  -d DEBUG_LEVEL  debug level: 1
  -t TIMEOUT      timeout: 300
Comment 2 Philipp Hahn univentionstaff 2015-01-26 08:21:53 CET
Also see Bug #33224, which contains a patch to make the cli-server callable from the command-line, which I used myself multiple time for debugging UDM modules the past.
Comment 3 Florian Best univentionstaff 2016-05-02 13:16:02 CEST
curl https://forge.univention.org/bugzilla/attachment.cgi?id=6629 | patch -d /usr/share/univention-directory-manager-tools/
Comment 4 Florian Best univentionstaff 2016-06-29 16:43:21 CEST
The patch was used as base and verified by Bug #40422.

*** This bug has been marked as a duplicate of bug 40422 ***