[pkg-bacula-devel] [Bacula Bug Reports 0002528]: bacula-fd crashes with segfault when trying to bind to a port that isn't free

Carsten Leonhardt leo at debian.org
Tue May 12 20:22:54 BST 2020


Sven Hartge <sven at svenhartge.de> writes:

> On 12.05.20 20:03, Carsten Leonhardt wrote:
>
>> Another solution could be for the config test mode to check if the port
>> to be bound to is free. Would you consider that to be in scope for the
>> config test mode?
>
> Wouldn't that be a race condition, because config test and startup are
> not atomic and anything could happen between the two?

Yes, something else could use the port in the meantime. But at least
under normal circumstances one would get an obvious error message, and
that's what the bug reporter wanted to see.

Carsten



More information about the pkg-bacula-devel mailing list