[Pkg-nagios-devel] Bug#496810: simple patch proposal

Ferenc Wagner wferi at niif.hu
Sun Sep 7 14:11:50 UTC 2008


tag 496810 +patch
thanks

Hi,

I think simply including --oknodo like below fixes this problem:

--- debian/nsca.init.orig         2008-09-07 15:44:19.280906007 +0200
+++ debian/nsca.init              2008-09-07 16:00:39.378879122 +0200
@@ -55,12 +55,12 @@
   if [ ! -d "/var/run/nagios" ]; then
      mkdir -p /var/run/nagios || die "ERROR: couldn't create
      /var/run/nagios"
      fi
-     $SSD_START -- $OPTS || die "ERROR: could not start $NAME."
+     $SSD_START --oknodo -- $OPTS || die "ERROR: could not start
$NAME."
        echo "$NAME."
 ;;
 stop)
        echo -n "Stopping $DESC: "
-       $SSD_STOP -- $OPTS || die "ERROR: could not stop $NAME."
+       $SSD_STOP --oknodo -- $OPTS || die "ERROR: could not stop
$NAME."
        rm -f $PIDFILE
        echo "$NAME."
 ;;

Please tell me if it's unacceptable for some reason.
Or I can prepare an NMU if you wish.  Do you think a fix for #466261
could also be included?
-- 
Regards,
Feri.





More information about the Pkg-nagios-devel mailing list