You are not logged in.
The first entry in /var/log/syslog dates back to October 2025, and the file takes now more than 150MB
The content of /etc/logrotate.d/rsyslog is
/var/log/syslog
/var/log/mail.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/cron.log
{
rotate 4
weekly
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}while /usr/lib/rsyslog/rsyslog-rotate contains
#!/bin/sh
if [ -d /run/systemd/system ]; then
systemctl kill -s HUP --kill-whom=main rsyslog.service
else
invoke-rc.d rsyslog rotate > /dev/null
fiAny clue?
Offline
Have a look:
https://dev1galaxy.org/viewtopic.php?id=5763
I have some notes (unfortunately in German) what I did on modifications on my PC.
Last edited by rolfie (Yesterday 17:02:41)
Offline
Editing /etc/logrotate.d/rsyslog like this
[...]
postrotate
invoke-rc.d rsyslog rotate > /dev/null
endscript
[...]solved the issue. I suppose there's something wrong in the /usr/lib/rsyslog/rsyslog-rotate test condition
Offline
Please share your Devuan release and package versions. This should be fixed in Devuan already.
Edit: also whether you are using runit-init and if so, whether you have runit-services installed, and which version.
Last edited by abower (Today 09:14:16)
Online