[Samba] Option configure

Andrew Bartlett
Sun, 10 Jul 2016 00:12:03 -0000

On Sat, 2016-07-09 at 11:27 +0200, Marc Muehlfeld wrote:
> Hello,
>
> Am 09.07.2016 um 09:14 schrieb Rowland penny:
> > > What is the purpose of the option
> > > *
> > > **--with-**systemd**
> > > ****Enable****systemd****integration*
> > >
> > > To configure Samba (build).
> > >
> >
> > It is there so that there is also the '--without-systemd'
option.
> >
> > one turns on systemd integration, the other (thank your deity)
> > turns it
> > off.
> > The second is more important, I think you get the systemd
> > integration
> > without explicitly setting '--with-systemd'
>
>
> Carlos, it's a good question. I really never recognized this option.
>
> What is different afterwards when using with/without? Does it create
> a
> systemd service file?

It just means we link to a small library that helps systemd know that
we started up successfully, as I understand it.

This is needed because of the way we double-fork() at startup, so the
original PID values from the process that called exec() is not the long
-term PID.

Andrew Bartlett
--
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba