The atatched patch should be enough to fix the display of a warning when the DHCP lease is released and then the DHCP hook script does "invoke-rc.d samba reload".
Indeed it will also fix the warning emitted when "reloading" samba while daemons are not running. Steve, do you think that's acceptable or do you prefer having "invoke-rc.d samba reload" still emit a warning when samba is not running? If you're OK with the patch, I'll tag the bug "patch" and commit to SVN. Otherwise, I'll tag the bug "wontfix" and will probably close it one day or another...:) --
Index: samba.init
===================================================================
--- samba.init (révision 3789)
+++ samba.init (copie de travail)
@@ -92,7 +92,7 @@
reload)
log_daemon_msg "Reloading /etc/samba/smb.conf" "smbd only"
- start-stop-daemon --stop --signal HUP --pidfile $SMBDPID
+ start-stop-daemon --stop --quiet --signal HUP --pidfile $SMBDPID
log_end_msg 0
;;
signature.asc
Description: Digital signature

