Bug 42685 - sys.exit() quits listener
sys.exit() quits listener
Status: NEW
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-14 15:16 CEST by Philipp Hahn
Modified: 2020-06-22 18:16 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
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
/usr/lib/univention-directory-listener/system/exit.py (499 bytes, text/plain)
2016-10-14 15:17 CEST, Philipp Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2016-10-14 15:16:21 CEST
If a listener modules does sys.exit(0), this terminates the listener process.
This is used by replication.py if the file system is full.
This should be at least documented.
Comment 1 Philipp Hahn univentionstaff 2016-10-14 15:17:01 CEST
Created attachment 8105 [details]
/usr/lib/univention-directory-listener/system/exit.py

udm container/cn create --set description=exit --set name=exit