[PATCH] Add documentation tags to systemd service files
Andreas Schneider
asn at samba.org
Wed Jan 3 16:34:24 UTC 2018
On Wednesday, 3 January 2018 16:54:46 CET Björn JACKE wrote:
> On 2018-01-03 at 11:37 +0100 Andreas Schneider via samba-technical sent off:
> > > winbind.service not, why?
> > > Could you give small explanation why winbind.service is not after
> > > network-online for my understanding. What happens if a server starts,
> > > network.target is reached and no network is getting up. A computer pass
> > > changes and winbind is unable to update the keytab.. Things like that is
> > > what i was thinking off.
> >
> > man smb.conf -> winbind offline logon
>
> "Wants" is a soft dependency a la LSB "Should-Start" and "Requires" is a
> hard dependency a la LSB "Required-Start", right? Given that,
> "Wants=network-online" makes perfectly sense for winbind.service for me,
> no?
Winbind should just be started if the network is up, that's why it has:
After=network.target
That provides the basics we need to start winbind and have it functional for
login. If we delay the start of winbind the user might try to login but it
fails because there is not network ever coming up. He might not be connected
at all ...
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
More information about the samba-technical
mailing list