[PATCH] Bug 10239 - log.nmbd never rotates
bb at sernet.de
Wed Mar 19 08:54:01 MDT 2014
I've analyzed the logfile rotation issue in the nmbd and found the
reason. The reason is, that the debugging system in the nmbd is
initiated before the smb.conf is loaded. Sending the SIGHUP resets the
debug settings, as set in the smb.conf.
So the max log size it not the only option, that is not set. It's the
same issue for hires timestamp or debug pid. The debug state.settings
struct is not filled.
After sending the SIGHUP or using the patch that resets the debug
settings after reading the config, the debug state struct is filled as
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 748 bytes
Desc: not available
More information about the samba-technical