the RunBeforeJob field present in /etc/bacula-dir.conf has default value as "/etc/bacula/make_catalog_backup -u bacula" but if using sqlite databases it returns an error because sqlite hasn't support for user(s), so the catalog backup can't be done and the user must edit the bacula-dir.conf file deleting the "-u bacula" substring in the string above. the returned error in logs (and mail, in my case) is: bacula-dir: RunBefore: /usr/bin/sqlite: unknown option: -u bacula-dir: RunBefore: Use -help for a list of options. bacula-dir: BackupCatalog.2005_03_22_01.10.01 Fatal Error: RunBeforeJob returned non-zero status=10 This bug was found in several versions of bacula (1.3x) and in other distros too (mandrake for example). Step to reproduce this error: Install bacula with sqlite support.
Please check the new 1.36.3-r1 ebuild. If the bug still persists, please reopen.