Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Keep standalone flag after reloading #2399

Merged
merged 3 commits into from
Aug 28, 2023

Conversation

kamil-certat
Copy link
Contributor

Library mode introduced 'standalone' flag for
bots running as a process. This flag instruct
the bot to handle signals, including SIGTERM.
Unfortuneatly, this flag weren't preserved
when reloading the bot, what caused not being
able to gracefully stop reloaded bots.

Reloading is used when logrotate with recommended
configuration is enabled, what means that
this bug affects all 3.2.0 installations
from native packages after first logrotate.

Library mode introduced 'standalone' flag for
bots running as a process. This flag instruct
the bot to handle signals, including SIGTERM.
 Unfortuneatly, this flag weren't preserved
when reloading the bot, what caused not being
able to gracefully stop reloaded bots.

Reloading is used when logrotate with recommended
configuration is enabled, what means that
this bug affects all 3.2.0 installations
from native packages after first logrotate.
@kamil-certat kamil-certat self-assigned this Aug 24, 2023
@kamil-certat kamil-certat added the bug Indicates an unexpected problem or unintended behavior label Aug 24, 2023
intelmq/lib/bot.py Outdated Show resolved Hide resolved
@sebix sebix added this to the 3.2.1 milestone Aug 28, 2023
@sebix sebix merged commit 5b94c9e into certtools:develop Aug 28, 2023
24 checks passed
@kamil-certat kamil-certat deleted the fix-stoping branch August 28, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants