Bug 56915 - duplicate logrotate entry if Microsoft 365 connector is installed
duplicate logrotate entry if Microsoft 365 connector is installed
Status: VERIFIED FIXED
Product: UCS
Classification: Unclassified
Component: logrotate
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Julia Bremer
Felix Botner
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-12-15 10:06 CET by Moritz Bunkus
Modified: 2024-04-25 10:41 CEST (History)
9 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.206
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2024010821000373, 2024032021000266
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 Moritz Bunkus 2023-12-15 10:06:47 CET
When the Microsoft 365 Connector is installed, there are now two entries referring to a specific logfile. Therefore the `logrotate.service` unit fails:

Dec 15 00:00:02 callisto systemd[1]: Starting Rotate log files...
Dec 15 00:00:02 callisto logrotate[28118]: error: univention-ms-office-async:11 duplicate log entry for /var/log/univention/listener_modules/ms-office-async.log
Dec 15 00:00:02 callisto logrotate[28118]: error: found error in file univention-ms-office-async, skipping
Dec 15 00:00:03 callisto systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE

The conflicting entries are:

univention-ms-office-async
11:/var/log/univention/listener_modules/ms-office-async.log {

listener-modules
11:/var/log/univention/listener_modules/*.log {


[0 root@callisto ~] univention-app info
UCS: 5.0-6 errata713
Installed: dhcp-server=12.0 keycloak=22.0.3-ucs1 office365=5.8 self-service=5.0
Upgradable:
Comment 1 Dirk Schnick 2024-01-08 15:44:18 CET
And another customer has a failed logrotate service caused by the two logrotate entries for the logfiles of /var/log/univention/listener_modules/ms-office-async.log

Please fix.
Comment 2 Dirk Schnick 2024-03-20 16:10:29 CET
And another customer with that problem. Please fix. Can lead into full disks as logrotate is completely not working caused by that bug.
Comment 3 Christina Scheinig univentionstaff 2024-03-20 17:08:34 CET
The partner has two other customers, who are affected by this issue.
Comment 6 Felix Botner univentionstaff 2024-04-25 10:41:35 CEST
Fixed with v5.9.