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)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 3 Aug 2018 15:28:52 +0000 (17:28 +0200)
commita3d248f284eb2e5f4fe886310e481b28c9f1c392
tree4ea6146f89ab3f3ac50d04c2d36105c2e371e0ce
parentf7b2e5eec5ba1fa5f26694e6555a98cab0594a27
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>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Aug  3 17:28:52 CEST 2018 on sn-devel-144
packaging/systemd/smb.service.in