[PATCH] Run 'samba' daemon in foreground
Andreas Schneider
asn at samba.org
Tue Nov 28 09:19:51 UTC 2017
On Monday, 27 November 2017 20:01:41 CET Rowland Penny via samba-technical
wrote:
> 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 ?
I don't think that those distros use pass the newly added option --foreground
option by default to the samba binary ...
Andreas
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
More information about the samba-technical
mailing list