Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86360 - default RunBeforeJob configuration in bacula-dir.conf fails if using sqlite database
Summary: default RunBeforeJob configuration in bacula-dir.conf fails if using sqlite d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: App-Backup Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 02:42 UTC by teknux
Modified: 2005-07-02 21:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description teknux 2005-03-23 02:42:27 UTC
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.
Comment 1 Fernando Serboncini (RETIRED) gentoo-dev 2005-07-02 21:05:39 UTC
Please check the new 1.36.3-r1 ebuild. If the bug still persists, please reopen.