]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix FD crash when the SD disk is full introduced with SDPacketCheck feature
authorAlain Spineux <alain@baculasystems.com>
Thu, 18 Mar 2021 09:23:53 +0000 (10:23 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:01 +0000 (09:03 +0100)
commit802b3743a78f48c2f8ab3e876062cc6904c68611
tree87fb9472db519024c63f06d911f4eef2b446cf9a
parent5d09eb685f545febb5d69f80b1a2a5c32b6fda50
Fix FD crash when the SD disk is full introduced with SDPacketCheck feature

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

The FD crash when the SD send back a message to the FD (for example when the disk is full)
This issue was introduced in 12.6.2 with SDPacketCheck feature

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

Set SDPacketCheck to some value in the bacula-fd.conf

Details:
--------

bnet_poll_manager cannot handle error msg from SD

- FD get a "3999 Failed append\n" in the hearbeat while jcr->sd_packet_mgr
  was already set to NULL
bacula/src/filed/heartbeat.c