Since using Samba 4.1.0 the log file /var/log/log.nmbd never rotates. I'm using the internal rotate function of Samba. I have following definition in /etc/smb.conf: max log size = 10000 The log /var/log/log.smbd rotates if nearly reaching 10 MB, but /var/log/log.nmbd is growing and never rotating to /var/log/log.nmbd.old. referencetest26 # du -h /var/log/log.?mbd* 12M /var/log/log.nmbd 8.7M /var/log/log.smbd 9.8M /var/log/log.smbd.old This must be a regression to older Samba releases.
Created attachment 9812 [details] fix for 4.0, cherry-picked from master
Created attachment 9813 [details] fix for 4.1, cherry-picked from master
Comment on attachment 9812 [details] fix for 4.0, cherry-picked from master Jeremy, Can you also give your review on this and then assign to KS? Thanks,
Re-assigning to Karolin for inclusion in 4.1.next, 4.0.next. Jeremy.
Too late for 4.1.7?
(In reply to comment #5) > Too late for 4.1.7? Unfortunately, yes. Will be included in the next bug fix releases.
Pushed to autobuild-v4-0-test and autobuild-v4-1-test.
(In reply to comment #7) > Pushed to autobuild-v4-0-test and autobuild-v4-1-test. Pushed to both branches. Closing out bug report. Thanks!