Bug 45794 - [OX/4.1/7.8.2] listener must clear ID caches upon initialization
[OX/4.1/7.8.2] listener must clear ID caches upon initialization
Status: RESOLVED WORKSFORME
Product: Z_Internal OX development
Classification: Unclassified
Component: Listener
UCS 4.1 / 7.8.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-29 11:25 CET by Daniel Tröder
Modified: 2021-05-14 15:41 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
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 Tröder univentionstaff 2017-11-29 11:25:57 CET
When a resync is done, the OX user and group listeners should:
1. stop a running "process-listener" cron job
2. clear the ID caches

An idea for cleanly stopping a "process-listener" cron job is to create a file that the process-listener checks between queue transactions and quits if it exists/changed.
The listener would have to wait for the "process-listener" cron job to exit (with a timeout -> kill?) before clearing the caches.

Workaround until implemented
----------------------------
1. stop the listener
2. kill "process-listener" cron job if running
3. rm /var/cache/univention-ox/*.db
4. start the listener
Comment 1 Ingo Steuwer univentionstaff 2021-05-14 15:41:33 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.