Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
samba.log.old problem #1895
i have a problem with the samba internal rotation of logs:
this should put all the old logs in
but on some of my Zentyal ADs the samba.log.old file instead of growing in size every time there is a rotation the file is deleted and rewritten, the biggest problem is that samba processes do not close the file descriptors of the deleted samba.log.old file, this causes space on disk not being reclaimed...
I understand this is a samba issue and not exactly a Zentyal one,
this way the rotation is gonna be done by logrotate with the file /etc/logrotate.d/samba:
While right now since the default of "log file" in smb.conf has been changed this is not being used.
I'm open to suggestions of other ways to solve my problem