Univention Bugzilla – Bug 44587
Cronjob deb-cleaner remove error
Last modified: 2019-12-24 12:59:37 CET
Package: univention-management-console-module-appcenter-selfservice Script: /etc/cron.daily/appcenter-selfservice-deb-cleaner Command: "find /var/cache/univention-appcenter-selfservice/uploads -mtime +1 -exec rm {} \;" Cronjob-Error: "rm: cannot remove `/var/cache/univention-appcenter-selfservice/uploads': Is a directory" Reason: The above command's output includes the given base folder "/var/cache/univention-appcenter-selfservice/uploads", which is the reason, why the exec-Command tries to delete it Fix: The simplest solution for this problem would be the addition of the argument -mindepth 1 to the 'find'-Command
Does not break anything, right? Just prints out an error message.
(In reply to Dirk Wiesenthal from comment #1) > Does not break anything, right? Just prints out an error message. Correct. Our System sends us two to six Cron Deamon messages per Week, though.
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
Still existent in latest Version 4.4.0-17.