From: <bac...@li...> - 2006-03-31 14:17:12
|
A BUGNOTE has been added to this bug. ====================================================================== http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=0000589 ====================================================================== Reported By: mikael Assigned To: ====================================================================== Project: bacula Bug ID: 589 Category: configure/build process Reproducibility: always Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 03-31-2006 05:55 PST Last Modified: 03-31-2006 06:16 PST ====================================================================== Summary: make_static-bacula-fd does not copy the right bacula-fd.conf Description: make_static-bacula-fd copies the bacula-fd.conf which resides in the source directory where bacula-fd is compiled. Wouldn't it be interesting to take the one that is in production and has the good password ? ====================================================================== ---------------------------------------------------------------------- mikael - 03-31-2006 06:16 PST ---------------------------------------------------------------------- May be better to check file existence : function find_config { CONFPATH=`ps -efw | grep [b]acula-fd.conf | head -1 | awk '{print $11}'` if [ -f $CONFPATH ]; then echo $CONFPATH else echo $topdir/src/filed/bacula-fd.conf fi } Bug History Date Modified Username Field Change ====================================================================== 03-31-06 05:55 mikael New Bug 03-31-06 06:16 mikael Bugnote Added: 0001618 ====================================================================== |