Univention Bugzilla – Bug 55764
opa.log is not rotated even if rotation settings are set.
Last modified: 2024-02-06 15:33:43 CET
UCS: 5.0-3 errata594 ucsschool-kelvin-rest-api=1.8.5 opa.log is not rotated (while Bug 54247 is not closed here the corresponding issue in gitlab is) root@primus:~# univention-app shell ucsschool-kelvin-rest-api /kelvin # ucr search opa logrotate/opa/compress: logrotate/opa/create: logrotate/opa/missingok: logrotate/opa/notifempty: logrotate/opa/rotate/count: 30 logrotate/opa/rotate: daily /kelvin # ash -x /etc/periodic/daily/logrotate + '[' -f /etc/conf.d/logrotate ] + . /etc/conf.d/logrotate + CPULIMIT=50 + '[' -x /usr/bin/cpulimit ] + /usr/sbin/logrotate /etc/logrotate.conf warning: Potentially dangerous mode on opa: 0666 error: Ignoring opa because it is writable by group or others. + EXITVALUE=0 + '[' 0 '!=' 0 ] + exit 0 /kelvin # ls -l /etc/logrotate.d/ total 12 -rw-r--r-- 1 root root 140 Jan 24 05:32 acpid -rw-rw-rw- 1 root root 613 Feb 23 16:22 opa -rw-r--r-- 1 root root 43 Feb 10 06:38 openrc /kelvin #
5.0-4 errata801 ucsschool-kelvin-rest-api=1.8.10 it shouldnt be a big task to change the file permissions root@server:~# univention-app shell ucsschool-kelvin-rest-api /kelvin # ls -l /etc/logrotate.d/opa -rw-rw-rw- 1 root root 613 Sep 12 12:12 /etc/logrotate.d/opa
*** Bug 56635 has been marked as a duplicate of this bug. ***