Hello,

I don't understand very well the purpose of this patch, by default i don't have 
any Console {} resource in my bconsole.conf...

I have a Director {} resource instead, should i read R_DIRECTOR instead of 
R_CONSOLE ?

Bye


Le Thursday 01 October 2009 01:10:05 Dan Langille, vous avez écrit :
> This patch was submitted to the FreeBSD reporting system.  I suspect
> it's best considered in this venue.
>
> Taken from http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/139251
>
> Shall I suggest the OP contact this list?
>
> --- src/console/console.c.orig   2009-09-29 14:44:11.000000000 +0300
> +++ src/console/console.c        2009-09-29 14:52:29.000000000 +0300
> @@ -927,7 +927,10 @@
>      CONRES *cons;
>      /* Loop over Consoles */
> +   numcon = 0;
>      foreach_res(cons, R_CONSOLE) {
> +
> +      numcon++;
>         /* tls_require implies tls_enable */
>         if (cons->tls_require) {
>            if (have_tls) {
> @@ -947,6 +950,13 @@
>         }
>      }
> +   if (numcon == 0) {
> +      Emsg1(M_FATAL, 0, _("No Console resource defined in %s\n"
> +                          "Without that I don't how to speak to the
> Director(Console) :-(\n"), configfile);
> +      OK = false;
> +   }
> +
> +
>      UnlockRes();
>      return OK;
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to