[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Fri Aug 3 15:29:02 UTC 2018


The branch, master has been updated
       via  a3d248f systemd: Only start smb when network interfaces are up
      from  f7b2e5e ctdb-eventd: Fix CID 1438155

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit a3d248f284eb2e5f4fe886310e481b28c9f1c392
Author: Oleksandr Natalenko <oleksandr at redhat.com>
Date:   Fri Aug 3 14:34:47 2018 +0200

    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 at redhat.com>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Alexander Bokovoy <ab at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Fri Aug  3 17:28:52 CEST 2018 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 packaging/systemd/smb.service.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/packaging/systemd/smb.service.in b/packaging/systemd/smb.service.in
index dcaf7ef..18912ef 100644
--- a/packaging/systemd/smb.service.in
+++ b/packaging/systemd/smb.service.in
@@ -1,7 +1,8 @@
 [Unit]
 Description=Samba SMB Daemon
 Documentation=man:smbd(8) man:samba(7) man:smb.conf(5)
-After=network.target nmb.service winbind.service
+Wants=network-online.target
+After=network.target network-online.target nmb.service winbind.service
 
 [Service]
 Type=notify


-- 
Samba Shared Repository



More information about the samba-cvs mailing list