[PATCH] Run 'samba' daemon in foreground

Rowland Penny rpenny at samba.org
Mon Nov 27 19:01:41 UTC 2017


On Mon, 27 Nov 2017 19:43:01 +0100
Andreas Schneider via samba-technical <samba-technical at lists.samba.org>
wrote:

> Hi,
> 
> attached is a patch to address an issue with systemd and Samba
> daemons running in notify mode. In this mode we should not double
> fork. So we should start the daemons with --foreground. Also systemd
> will take care of the process group we should not handle that in
> Samba.
> 
> For this I've added --foreground to the 'samba' daemon.
> 
> 
> Review is much appreciated. If OK please push.
> 
> 
> Thanks,
> 
> 
> 	Andreas
> 
> 

NACK, until you explain if this affects distros that don't use
systemd ?

Rowland



More information about the samba-technical mailing list