[Pkg-samba-maint] Bug#394770: Bug#394770: Anyone with an idea to avoid smbd to keep rotated logfiles opened after the log rotation happened?

Steve Langasek vorlon at debian.org
Fri Jun 8 07:30:00 UTC 2007


On Sun, May 27, 2007 at 04:21:21PM +0200, Christian Perrier wrote:
> tags 394770 confirmed
> found 394770 3.0.25a-1
> thanks

> This bug about smbd processes keeping logfiles opened after the log
> rotation happened is still here.

> Indeed, this is because we just "reload" samba (invoke-rc.d samba
> reload) and, therefore, the smbd processes keep the log files opened.

> As *restarting* samba is not an option (server admins will hate us,
> and their users will hate them), does anyone have an idea here?

> Should we report to upstream that smbd should close the opened log
> files when it is sent SIGHUP?

That sounds like a suitable solution.  I'm surprised this isn't already
done, though; maybe the problem is that not all of the smbd processes get
signalled when the parent received a SIGHUP?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/




More information about the Pkg-samba-maint mailing list