Hi,

if this is a SuSE you could be hitting

        Bug 657510 - 'rcnamed status' corrupts return value from 'checkproc'

which will be addressed in an update. Alternativly you could change it to

--- named       2011-05-11 11:23:23.000000000 +0200
+++ named.works 2011-05-11 11:23:41.000000000 +0200
@@ -341,12 +341,12 @@
      status)
         echo -n "Checking for nameserver BIND "
      checkproc -p ${NAMED_PID} ${NAMED_BIN}
-       if [ $? -ne 0 ]; then
-           false
-       else
-               test "${RNDC_BIN}" && echo && ${RNDC_BIN} status && echo -en 
"${esc}[1A"
-        true
-       fi
+       #if [ $? -ne 0 ]; then
+       #    false
+       #else
+       #       #test "${RNDC_BIN}" && echo && ${RNDC_BIN} status && echo -en 
"${esc}[1A"
+        #true
+       #fi
         rc_status -v
         ;;


regards,

   Rolf Schmidt

(It's always darkest just before it goes pitch black.)

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to