[Pkg-samba-maint] Bug#855918: Bug#855918: connection refused after reboot: Any feedback on this one?
Martin Steigerwald
martin.steigerwald at teamix.de
Thu Mar 2 13:37:14 UTC 2017
Am Donnerstag, 2. März 2017, 11:04:35 CET schrieb Mathieu Parent:
> 2017-03-01 9:46 GMT+01:00 Martin Steigerwald <martin.steigerwald at teamix.de>:
> > Any feedback on this one?
>
> smbd should be transitively "After" network-online.target (thru
> nmbd.service).
>
> Can you try to add "Wants=nmbd.service" in smbd.service" (in the Unit
> section) and reboot?
The following changes did not fix the issue:
root at fileserver:~# diff -u smbd.service /lib/systemd/system/smbd.service
--- smbd.service 2017-03-02 14:30:45.368000000 +0100
+++ /lib/systemd/system/smbd.service 2017-03-02 14:31:12.989781746 +0100
@@ -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
+After=network.target nmbd.service winbind.service
+Wants=nmbd.service
[Service]
Type=notify
Also I believe "nmb.service" to be a typo since the service is called
"nmbd.service". Also only fixing the typo without adding "Wants=nmbd.service"
did not fix the issue. I did a "reboot" after each change and waited for a
while for the services to become ready.
Any other ideas?
Thanks,
More information about the Pkg-samba-maint
mailing list