When starting bacula, specifically when starting all three services, then if the director fails, then the script fails, but the fd and sd services has been started. This prevents us from starting again as these services then fail. Neither can we "stop", as the service has not been started. Reproducible: Always Steps to Reproduce: 1. Make sure that bacula-dir is going to fail during startup (invalid config, grab the port, anything). 2. Try to start bacula 3. Actual Results: Parts of bacula started, parts thereof failed. Expected Results: Either failed entirely and not starting *any* of the bacula services or started correctly.
In my view there are two solutions to this, either create a seperate initrc scripts for each of the three services (my preference) or do something similar to what samba 3.0.4 is doing by using a service list, and should the second daemon fail to start the first gets shot down again as well.
Please supply an init script.
No problem, which approach would you prefer? That of having 3 seperate init scripts or a single one, but with functionality similar to that of samba-3.0.4?
Similar to svc for samba. Thanks
And attach config.log.
doh...wrong bug
No response, ill have a look the script later when i have time
Uhrm, sorry, totally forgot about this!!