Skip to main content
Topic: logrotate stopped working with cronie again on last update (Read 1023 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

logrotate stopped working with cronie again on last update

I recently noticed logs had stopped being rotated since 25th July - making /etc/cron.daily/logrotate executable for "user" has fixed this. This has happened before, although it's no big deal of course.
Code: [Select]
/etc/cron.daily$ ls -l
total 8
-rw-r--r-- 1 root root 189 Jul 10 20:54 logrotate
-rwxr--r-- 1 root root  96 Apr  3 18:28 updatedb
$ pacman -Qo /etc/cron.daily/logrotate
/etc/cron.daily/logrotate is owned by logrotate 3.17.0-1
$ pacman -Qi logrotate
Name            : logrotate
Version         : 3.17.0-1
...
Install Date    : Sat 25 Jul 2020 01:58:03 BST
$ pacman -Qs cron
local/cronie 1.5.5-1
    Daemon that runs specified programs at scheduled times and related tools
local/cronie-openrc 20200711-1 (openrc-system)
    OpenRC cronie init script
$ sudo chmod u+x logrotate
/etc/cron.daily$ ls -l
total 8
-rwxr--r-- 1 root root 189 Jul 10 20:54 logrotate
-rwxr--r-- 1 root root  96 Apr  3 18:28 updatedb

Re: logrotate stopped working with cronie again on last update

Reply #1
Every script located in /etc/cron.x, where x means daily, weekly and so on, should be executable. It's not a big deal but in my humilde opinion should be fixed. Tomorrow when I turn on the laptop I will check the package. It should not be difficult to fix.
Artix Linux Colombia

Re: logrotate stopped working with cronie again on last update

Reply #2
thank you for report, we will check it and fix.