Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 405249

Summary: app-backup/bacula-5.0.3-r1 should create /var/db/bacula
Product: Gentoo Linux Reporter: Oleg Gawriloff <barzog>
Component: New packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED INVALID    
Severity: minor CC: app-backup
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Oleg Gawriloff 2012-02-22 09:59:21 UTC
When installing fd only (flags: app-backup/bacula -* mysql bacula-clientonly python readline ssl tcpd doc logrotate) directory /var/db/bacula does not created, so file daemon can not start.
voip ~ # bacula-fd
22-Фев 12:55 VOIP-CLIENT: ERROR TERMINATION at util.c:867
Working Directory: "/var/db/bacula" not found. Cannot continue.




Reproducible: Always
Comment 1 Thomas Beierlein gentoo-dev 2012-02-26 08:18:07 UTC
I cannot reproduce that here Oleg.

Please provide your 'emerge --info' output, your /etc/bacula/bacula-fd.conf and /etc/conf.d/bacula-fd.

Btw, you do not need USE=mysql as the client-only install needs no database at all. To start the FD please use '/etc/init.d/bacula-fd start'.
Comment 2 Oleg Gawriloff 2012-02-27 13:34:15 UTC
Sorry for bother
By default is   WorkingDirectory = /var/lib/bacula, which is created.
Comment 3 Thomas Beierlein gentoo-dev 2012-02-27 14:51:26 UTC
(In reply to comment #2)
> Sorry for bother
> By default is   WorkingDirectory = /var/lib/bacula, which is created.

That is what I thoughed. Ok, fine.