[Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet
Ademar Arvati Filho
arvati at hotmail.com
Sun May 9 23:50:12 BST 2010
With Lucid i have the same proble. Resolved with file described below:
location of file:
/etc/network/if-up.d/samba
#! /bin/sh
# Reload samba when an interface comes up, to allow it to start
# listening on new addresses.
set -e
# Don't bother to restart samba server when lo is configured.
if [ "$IFACE" = lo ]; then
exit 0
fi
# Only run from ifup.
if [ "$MODE" != start ]; then
exit 0
fi
# samba server only cares about inet and inet6.
if [ "$ADDRFAM" != inet ] && [ "$ADDRFAM" != inet6 ]; then
exit 0
fi
service smbd restart >/dev/null 2>&1 || true
exit 0
--
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
More information about the Ubuntu-server-bugs
mailing list