Bug 50534 - univention-directory-reports-cleanup traceback & mails from cron
univention-directory-reports-cleanup traceback & mails from cron
Status: RESOLVED DUPLICATE of bug 50497
Product: UCS
Classification: Unclassified
Component: UMC - Reports
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-11-22 10:22 CET by Moritz Bunkus
Modified: 2019-11-22 10:23 CET (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 Moritz Bunkus 2019-11-22 10:22:37 CET
Since upgrading the package univention-management-console-module-udm to version to 9.0.15-3A~4.4.0.201910231536 I regularly receive mails from cron with a Python traceback:

Traceback (most recent call last):
  File "/usr/sbin/univention-directory-reports-cleanup", line 46, in <module>
    for f in os.listdir(dirname):
OSError: [Errno 2] No such file or directory: '/usr/share/univention-management-console-module-udm'

Simply executing /usr/sbin/univention-directory-reports-cleanup shows the same backtrace.

How to reproduce:

1. Install a fresh UCS system & update it.
2. Run /usr/sbin/univention-directory-reports-cleanup

Version: 4.4-2 Errata 374
Comment 1 Florian Best univentionstaff 2019-11-22 10:23:38 CET
Thanks, this was already reported and fixed in Bug #50497, which is not released yet.
Workaround: mkdir /usr/share/univention-management-console-module-udm.

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