summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4e683e2)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5526
91ce42f0-d328-0410-95d8-
f526ca767f89
o pb inclusion (distante, locale)
o pb exclusion (distante, locale)
o pb execution de commande
o pb inclusion (distante, locale)
o pb exclusion (distante, locale)
o pb execution de commande
+ o pb de config avec test du -t des differents daemon
- Utiliser PQescapeStringConn a la place de PQescapeString
- Utiliser la lib pcre
- Rendre les scripts bacula-ctl-xxx LSB
- Utiliser PQescapeStringConn a la place de PQescapeString
- Utiliser la lib pcre
- Rendre les scripts bacula-ctl-xxx LSB
Jmsg((JCR *)NULL, M_ERROR_TERM, 0, _("Please correct configuration file: %s\n"), configfile);
}
Jmsg((JCR *)NULL, M_ERROR_TERM, 0, _("Please correct configuration file: %s\n"), configfile);
}
- if (background) {
- daemon_start();
- init_stack_dump(); /* grab new pid */
+ if (!test_config) { /* we don't need to do this block in test mode */
+ if (background) {
+ daemon_start();
+ init_stack_dump(); /* grab new pid */
+ }
+
+ /* Create pid must come after we are a daemon -- so we have our final pid */
+ create_pid_file(director->pid_directory, "bacula-dir", get_first_port_host_order(director->DIRaddrs));
+ read_state_file(director->working_directory, "bacula-dir", get_first_port_host_order(director->DIRaddrs));
- /* Create pid must come after we are a daemon -- so we have our final pid */
- create_pid_file(director->pid_directory, "bacula-dir", get_first_port_host_order(director->DIRaddrs));
- read_state_file(director->working_directory, "bacula-dir", get_first_port_host_order(director->DIRaddrs));
-
drop(uid, gid); /* reduce privileges if requested */
if (!check_catalog()) {
drop(uid, gid); /* reduce privileges if requested */
if (!check_catalog()) {
Technical notes on version 2.3
General:
Technical notes on version 2.3
General:
+11Sep07
+ebl Fix bug #946 about "bacula-dir -t" witch doesn't works
+ as expected.
09Sep07
ebl Using "m" in bconsole will show messages like before,
and not memory usage.
09Sep07
ebl Using "m" in bconsole will show messages like before,
and not memory usage.