Package: bacula-director-common
Severity: normal

/usr/share/bacula-common/defconfig/bacula-dir.conf contains a template
for the initial bacula-dir.conf. In this file we have

  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup bacula bacula"

which will always fail (since the make_catalog_backup is just a wrapper
around mysqldump. It should be

  RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup -u<user> -p<password>"

in order to work. I think this could be handled by the postinst script
(which knows the user/password), or at least a comment indicating that
the values should be changed to suit the local setup.

Note also that the bacula Job *does not indicate failure* when this 
misconfiguration
is present, it just dosent back up the database & returns OK.
So it is rather pernicious.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686-smp
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to