Make sure the root minion process handles SIGUSR1

This commit is contained in:
Max Arnold 2024-02-19 15:50:39 +07:00 committed by Daniel Wozniak
parent 15112db802
commit 76ae4a6875
2 changed files with 4 additions and 0 deletions

1
changelog/66095.fixed.md Normal file
View file

@ -0,0 +1 @@
Make sure the root minion process handles SIGUSR1 and emits a traceback like the child minion processes

View file

@ -162,9 +162,12 @@ def salt_minion():
"""
import signal
import salt.utils.debug
import salt.utils.platform
import salt.utils.process
salt.utils.debug.enable_sigusr1_handler()
salt.utils.process.notify_systemd()
import multiprocessing