logrotate for samba logs

Ste
155 Posts
October 29, 2026, 7:08 pmQuote from Ste on October 29, 2026, 7:08 pmHi, actually i don't know if it is really a bug or not, but i noticed that my log files /var/log/samba/log.ctdb continuously grow up to fill the / filesystem (now 4.7 GB). So i went to look into the /etc/logrotate.d/ctdb config file and realized that there is indicated the wrong path (ctdb instead of samba):
/var/log/ctdb/log.ctdb {
weekly
missingok
rotate 7
copytruncate
compress
delaycompress
notifempty
}
I changed name and now seems to work fine. Bye,
Stefano
Hi, actually i don't know if it is really a bug or not, but i noticed that my log files /var/log/samba/log.ctdb continuously grow up to fill the / filesystem (now 4.7 GB). So i went to look into the /etc/logrotate.d/ctdb config file and realized that there is indicated the wrong path (ctdb instead of samba):
/var/log/ctdb/log.ctdb {
weekly
missingok
rotate 7
copytruncate
compress
delaycompress
notifempty
}
I changed name and now seems to work fine. Bye,
Stefano
Last edited on October 29, 2026, 7:09 pm by Ste · #1
logrotate for samba logs
Ste
155 Posts
October 29, 2026, 7:08 pm
Quote from Ste on October 29, 2026, 7:08 pmHi, actually i don't know if it is really a bug or not, but i noticed that my log files
/var/log/samba/log.ctdbcontinuously grow up to fill the / filesystem (now 4.7 GB). So i went to look into the/etc/logrotate.d/ctdbconfig file and realized that there is indicated the wrong path (ctdb instead of samba):/var/log/ctdb/log.ctdb { weekly missingok rotate 7 copytruncate compress delaycompress notifempty }I changed name and now seems to work fine. Bye,
Stefano
Hi, actually i don't know if it is really a bug or not, but i noticed that my log files /var/log/samba/log.ctdb continuously grow up to fill the / filesystem (now 4.7 GB). So i went to look into the /etc/logrotate.d/ctdb config file and realized that there is indicated the wrong path (ctdb instead of samba):
/var/log/ctdb/log.ctdb {
weekly
missingok
rotate 7
copytruncate
compress
delaycompress
notifempty
}
I changed name and now seems to work fine. Bye,
Stefano
Last edited on October 29, 2026, 7:09 pm by Ste · #1