(1) network-online.target waits for <email address hidden> as it's in /etc/network/interfaces
(2) <email address hidden> starts during boot, triggered by udev; through samba's smbd dhclient-enter hook it calls invoke-rc.d smbd reload
(3) /etc/init.d/smbd has "Requires: $network"
(4) the SysV generator translates $network to network-online.target
We really want (1), (2) and (3) are justified. According to http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/facilname.html, $network should be mapped to network.service, not network-online.service. If others disagree and $network should have the "strong" is-online meaning, we need to fix it at (3) instead, e. g. by adding a proper systemd unit to samba. (We should really teach socket activation to stuff..)
It seems this is a dependency loop:
(1) network- online. target waits for <email address hidden> as it's in /etc/network/ interfaces online. target
(2) <email address hidden> starts during boot, triggered by udev; through samba's smbd dhclient-enter hook it calls invoke-rc.d smbd reload
(3) /etc/init.d/smbd has "Requires: $network"
(4) the SysV generator translates $network to network-
We really want (1), (2) and (3) are justified. According to http:// refspecs. linuxbase. org/LSB_ 4.1.0/LSB- Core-generic/ LSB-Core- generic/ facilname. html, $network should be mapped to network.service, not network- online. service. If others disagree and $network should have the "strong" is-online meaning, we need to fix it at (3) instead, e. g. by adding a proper systemd unit to samba. (We should really teach socket activation to stuff..)