Description of problem: Installing "bacula-client" on a freshly installed Fedora 14 system does not create the /var/bacula directory which is then needed to start the client daemon. Version-Release number of selected component (if applicable): 5.0.2-8.fc14 How reproducible: Always. Steps to Reproduce: 1. On a fresh Fedora 14 system, run "sudo yum -y install bacula-client" 2. This will pull in the following packages: Installing: bacula-client i686 5.0.2-8.fc14 fedora 173 k Installing for dependencies: bacula-common i686 5.0.2-8.fc14 fedora 360 k fedora-usermgmt noarch 0.11-1405.fc14 fedora 8.7 k fedora-usermgmt-core noarch 0.11-1405.fc14 fedora 9.9 k fedora-usermgmt-default-fedora-setup noarch 0.11-1405.fc14 fedora 8.6 k fedora-usermgmt-shadow-utils noarch 0.11-1405.fc14 fedora 9.5 k 3. Enable the bacula-fd service and attempt to start it: # chkconfig --level 2345 bacula-fd on # service bacula-fd start Starting bacula-fd: 09-Nov 07:54 metis-fd: ERROR TERMINATION at util.c:859 Working Directory: "/var/bacula" not found. Cannot continue. [FAILED] Actual results: Service fails to start due to missing /var/bacula directory. Expected results: Service should start. Additional info: Workaround: manually create directory: # mkdir /var/bacula # chown bacula.bacula /var/bacula # service bacula-fd start Starting bacula-fd: [ OK ]
What needs /var/bacula in your setup? The default bacula-fd.conf doesn't mention it and the bacula user home directory created by bacula-common is not /var/bacula. The client and director work fine for me without /var/bacula.
I have no idea what it's needed for. The message gets printed when I attempt to start bacula-fd. Note that I do not have the director installed on this system, just -common and -client. See description above for details.
What's in your bacula-fd.conf file? In particular, what do you have for the WorkingDirectory setting for the FileDaemon? The default config is: FileDaemon { # this is me Name = bacula-fd FDport = 9102 # where we listen for the director WorkingDirectory = /var/spool/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 20 }
Ah, I see. I have "WorkingDirectory = /var/bacula" which probably explains the issue. The file has been copied over a series of version updates, where it worked fine (because that directory existed), but this time I did a new install. Sorry for the false alarm.