[Pkg-samba-maint] Bug#855918: Bug#855918: samba: connection refused after reboot, fixable by systemctl restart smbd

Mathieu Parent math.parent at gmail.com
Thu Mar 9 21:46:43 UTC 2017


2017-02-23 13:46 GMT+01:00 Martin Steigerwald <martin.steigerwald at teamix.de>:
[...]
> When I restart is with systemctl I get same open ports. I.e.
> 445 is still on localhost and thus it does not seem to be needed
> on client machine.

I don't understand this paragraph. What is your other way to restart
(other than systemctl)?

[...]
> [global]
>         bind interfaces only = Yes
>         interfaces = lo eth0

What if you comment out the two above lines? Do you really need them?

Otherwise: probably your network-online.target is not dynamic.

What does the following command outputs:
systemctl list-dependencies network-online.target
systemctl list-dependencies --after network-online.target

You'll need systemd-networkd-wait-online.service or
NetworkManager-wait-online.service or similar here. You can write your
own which ensure that network is up.

See also: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget

Regards


-- 
Mathieu Parent



More information about the Pkg-samba-maint mailing list