systemd: Only start smb when network interfaces are up
authorOleksandr Natalenko <oleksandr@redhat.com>
Fri, 3 Aug 2018 12:34:47 +0000 (14:34 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Aug 2018 10:56:35 +0000 (12:56 +0200)
commitb1558f175600c041d4bff7f07df941f42c97e549
treebeed3784d6f0465e1b355c91f8dd9bcba0336e1b
parent39dc0db85f5e8ae4466c828eba9650e3610bf422
systemd: Only start smb when network interfaces are up

For smb, if the smb.conf contains explicit bindings to the network
interfaces, the service must wait till network interfaces are up,
otherwise the service won't be operational.

The 0e571054a61e commit and the BZ 13184 have fixed this for nmb and
samba, so do exactly the same here, for smb.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13559

Signed-off-by: Oleksandr Natalenko <oleksandr@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit a3d248f284eb2e5f4fe886310e481b28c9f1c392)
packaging/systemd/smb.service.in