Hello again,

On Tue, 2014-04-01 at 16:20 +0200, Simone Caronni wrote:
> Hello,
> 
> On 1 April 2014 16:05, Ulrich Leodolter <ulrich.leodol...@obvsg.at> wrote:
> 
> > Hello Kern,
> >
> > On Tue, 2014-04-01 at 15:16 +0200, Kern Sibbald wrote:
> > > Hello Ulrich,
> > >
> > > Please download Bacula version 7.0.1 (I released it last night, but I
> > > hate to announce it today) :-)
> > > 7.0.1 has a fix for check_bacula.  You must just rebuild it.
> >
> > After enabling trace i found the problem, SD now answers different hello
> > than FD.  Here is my patch which fixes check_bacula for 7.0.1.
> >
> 
> I've applied the patch, I can check the 7.0.1 SD status from the 7.0.1
> plugin.
> Unfortunately I still can't authenticate from the 7.0.1 plugin to 5.0.3 SD
> and 5.2.13 SD.
> 

Yes, check_bacula should be downward compatible if possible.
I have one more little patch which fixes linking at install time.

diff --git a/bacula/examples/nagios/check_bacula/Makefile.in 
b/bacula/examples/nagios/check_bacula/Makefile.in
index 235efbf..5c22e2a 100644
--- a/bacula/examples/nagios/check_bacula/Makefile.in
+++ b/bacula/examples/nagios/check_bacula/Makefile.in
@@ -70,7 +70,7 @@ devclean: realclean
        (cd $(srcdir); $(RMF) Makefile)
 
 install: all
-       $(INSTALL_PROGRAM) check_bacula $(DESTDIR)$(sbindir)/check_bacula
+       $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) check_bacula 
$(DESTDIR)$(sbindir)/check_bacula
 
 uninstall:
        (cd $(DESTDIR)$(sbindir); $(RMF) check_bacula)


Best regards
Ulrich





------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to