]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix #7164 About Director reload issue with missing Job's directive
authorEric Bollengier <eric@baculasystems.com>
Mon, 28 Dec 2020 15:59:56 +0000 (16:59 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:02:59 +0000 (09:02 +0100)
commit8c7f9ec56f822da25c962a9d3f32c06edb073337
treea15e8538eb6f9f0b6cbe1518c6b47d3b3c90a669
parenta64dccfad793350259be87c12e9797f9ec5273eb
Fix #7164 About Director reload issue with missing Job's directive

Description:
-----------

When a required directive is removed (like the FileSet directive from the Job resource)
and the reload command is issued, the Director process is doing a M_ERROR_TERM.

  10-Dec 14:31 zog8-dir ERROR TERMINATION
    "Fileset" directive in Job "BackupClient1" resource is required, but not found.

Workaround:
-----------

Use bacula-dir -t or breload to validate the configuration before the reload.
bacula/src/dird/dird.c