Hello Scott,

On Sunday 15 June 2008 18:25:47 Scott Barninger wrote:
> Hello Kern,
>
> Remember we recently changed scriptdir from /etc/bacula
> to /usr/lib/bacula for FHS compatiblility in the rpm packages? Just
> found a bug in the general bacula start/stop/status scripts after
> installing 2.4 rpms. The affected scripts I think are bacula and
> bacula-ctl-* and BACFDCFG. BACSDCFG and BACDIRCFG as prefixes to the
> scripts need to be replaced with scriptdir variable.
>
> <snip>
>
> # All these are not *really* needed but it makes it
> #  easier to "steal" this code for the development
> #  environment where they are different.
> #
> BACFDCFG=/etc/bacula
> BACSDCFG=/etc/bacula
> BACDIRCFG=/etc/bacula

These are currently set to the sysconfdir variable, which may be incorrect. 

So that I can understand this better -- did you previously have the scriptdir 
and the sysconfdir set to the same value?  Otherwise, I cannot see how they 
ever could have worked.

Regards,

Kern


> case "$1" in
>    start)
>       [ -x ${BACSDCFG}/bacula-ctl-sd ] && ${BACSDCFG}/bacula-ctl-sd $1
> $2
>       [ -x ${BACFDCFG}/bacula-ctl-fd ] && ${BACFDCFG}/bacula-ctl-fd $1
> $2
>       [ -x ${BACDIRCFG}/bacula-ctl-dir ] && ${BACDIRCFG}/bacula-ctl-dir
> $1 $2
>       ;;
>
>    stop)
>       # Stop the FD first so that SD will fail jobs and update catalog
>       [ -x ${BACFDCFG}/bacula-ctl-fd ] && ${BACFDCFG}/bacula-ctl-fd $1
> $2
>       [ -x ${BACSDCFG}/bacula-ctl-sd ] && ${BACSDCFG}/bacula-ctl-sd $1
> $2
>       [ -x ${BACDIRCFG}/bacula-ctl-dir ] && ${BACDIRCFG}/bacula-ctl-dir
> $1 $2
>       echo
>       sleep 6
>       ;;
>
> </snip>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to