[Pkg-samba-maint] Bug#572483: samba: Add "--quiet" to s-s-d call for "reload" action in init script

Christian PERRIER bubulle at debian.org
Tue Jun 7 17:12:34 UTC 2011


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...:)

-- 


-------------- next part --------------
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
 		;;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20110607/395e8f73/attachment.pgp>


More information about the Pkg-samba-maint mailing list