Bug 42576 - univention-directory-listener avoid module initialization if partition is full
univention-directory-listener avoid module initialization if partition is full
Status: RESOLVED DUPLICATE of bug 42573
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Listener maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-05 13:54 CEST by Daniel Orrego
Modified: 2018-04-14 13:44 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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Orrego univentionstaff 2016-10-05 13:54:49 CEST
We had the situation that the listener somehow lost the state of the handlers when its partition was full and the service was stopped or killed. 

In such case it is possible that the file containing the state of the listener gets emptied (see below for a potential lead). The consequence being that, next time, once the partition has space, and the listener is started or reloaded, all modules will be initialized. This could be undesired in large environments.

Is it possible that this happens in handler.c
>handler_free(Handler *handler)?
> ...
>  state_fp = fopen(state_filename, "w");
Comment 1 Philipp Hahn univentionstaff 2016-10-05 14:06:32 CEST

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