Comment 8 for bug 529290

Revision history for this message
Simon Déziel (sdeziel) wrote :

The upstart job tries to start smbd in foreground mode but apparently fails to do so :

standard input is not a socket, assuming -D option

Even if this foreground operation was to work, the man page says that child processes will still be created. Those too need to be notified about the log rotation IMO.

One of the possible solutions is to use smbcontrol to notify all related daemons (smbd, nmbd and winbindd) :

smbcontrol all reload-config

This problem was apparently introduced in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=160076 where killall was removed from the logrotate configuration.