[pkg-bacula-devel] Bug#954971: should not try to send a traceback in production
Carsten Leonhardt
leo at debian.org
Fri Mar 27 08:21:23 GMT 2020
Antoine Beaupré <anarcat at debian.org> writes:
>> Could you explain how you would want this improved?
>
> I would prefer that no email is sent at all, or have that
> configurable. I would prefer, in fact, that TRACEBACK is disabled at
> compile time, unless the debugging symbols are shipped.
At compile time we can't know if debugging symbols will be available
later, as they are installable anytime from the -dbgsym packages.
What would be possible is to adapt the script "btraceback" to not send
the email if so requested by some mechanism. I don't think embedding a
parser for the configuration file in the script would make sense, it
would need to be something simple like checking the existence of a file
"/etc/bacula/no_tracebacks_please".
I'm curious though to understand your motivation for not wanting the
emails, would you care to explain?
Best regards,
Carsten
More information about the pkg-bacula-devel
mailing list