[PATCH] Bug 10239 - log.nmbd never rotates

Bjoern Baumbach bb at sernet.de
Fri Mar 21 05:21:35 MDT 2014


On 03/20/2014 10:25 AM, Bjoern Baumbach wrote:
> On 03/19/2014 05:54 PM, Marc Muehlfeld wrote:
>> This sounds like a bug, I had reported about one year ago:
>> https://bugzilla.samba.org/show_bug.cgi?id=9673
> I assume that this is a different issue, but I didn't verify this.

Hi once again!

I tried to reproduce the problem which is described in bug 9673, since
it may be related to bug 10239. I've setup a very simple Samba v4-0-test
server, started the nmbd and smbd and verified that the log files
rotating as soon the max log size has been reached.

This is my config:
./bin/testparm  -s
Load smb config files from /s4/logSizetest/etc/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
        log file = /s4/logSizetest/var/rotateme-please-%m.log
        max log size = 512

Any suggestion why my setup rotates the logs and other do not?

Best regards
Björn

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list