You are not logged in.
Pages: 1
Got Daedalus installed on my main workstation in November last year. netinstall, encrypted, efi mode, openrc, Cinnamon as desktop.
Since then the syslog file has increased to about 60MByte. When opening the logviewer, I see all info from the time of installation being present. logrotate is installed, I see a script called rsyslog in /etc/logrotate.d that asks for a weekly rotation.
/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
}
In /var/log the boot and the dmesg are moved once a day. auth.log and user.log also aren't being rotated. What may be wrong here?
Edith: anacron isn't installed.
Last edited by rolfie (2023-06-25 17:07:11)
Online
Do you at least have cron installed? Do you have /etc/cron.daily/logrotate?
Offline
Yes, cron is installed and working. I am using it for startup cron job @reboot. There is the logrotate entry in /etc/cron.daily.
Online
There are some changes to how logging works in Bookworm mentioned in the release notes, see sections 5.17-5.19.
It's not clear how these changes propagate through to Daedalus when it's either a new install (as I surmise yours was originally) or if you upgrade from Chimaera.
Offline
You could try "logrotate -dv /etc/logrotate.conf" to see what it says about syslog. I rotate that group monthly so my output is
rotating pattern: /var/log/syslog
/var/log/mail.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/cron.log
monthly (12 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/syslog
Now: 2023-06-27 15:08
Last rotated at 2023-06-01 03:13
log does not need rotating (log has been rotated at 2023-06-01 03:13, which is less than a month ago)
. . .
Offline
Thanks, that did the job. Did run the command on Tuesday, can't remember what the output was (may be none?), too many things going on here. When checking today I saw that all logs referenced in the conf have new date stamps and are much smaller now.
Maybe I will add that to my cron jobs to be run on each first day of the month.
Online
Pages: 1