[PATCH] Bug 10239 - log.nmbd never rotates
Marc Muehlfeld
samba at marc-muehlfeld.de
Fri Mar 21 07:54:32 MDT 2014
Hello Björn,
Am 21.03.2014 12:21, schrieb Bjoern Baumbach:
> 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?
The difference I see is, that yours is a standalone and on all machines
I have this, are DCs.
Also on DCs, the logs of the clients are rotated. But there's also one
logfile named "%m.log" (with your config, It would be called
"rotateme-please-%m.log"). This one contains output from the samba
process and not from smbd or the child-smbds forked by connecting
clients, I think. And this one isn't rotated
I wasn't clear enough in the bug report about that. Sorry.
Regards,
Marc
More information about the samba-technical
mailing list