[PATCH] Bug 10239 - log.nmbd never rotates

Marc Muehlfeld samba at marc-muehlfeld.de
Wed Mar 19 10:54:05 MDT 2014


Hello Björn,

Am 19.03.2014 15:54, schrieb Bjoern Baumbach:
> 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
> expected.

This sounds like a bug, I had reported about one year ago:
https://bugzilla.samba.org/show_bug.cgi?id=9673

Is this the same problem and will your patch fixes this, too?


Regards,
Marc


More information about the samba-technical mailing list