-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
P1Priority 1Priority 1PlatformRelates to OS, containers, platform-based utilities like FS, system based appsRelates to OS, containers, platform-based utilities like FS, system based appsbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixfix is linked, bug author to confirm fixseverity-high2nd top severity, seen by most users, causes major problems2nd top severity, seen by most users, causes major problems
Milestone
Description
Symptom: restart (or stop) of salt-minion on my systemd-based centos 7 box caused all my daemon processes that were started by the salt-minion to also be killed
Cause: looks like this is related to how systemd kills off all processes in the "control-group" of a service "unit" - in this case the salt-minion service
Suggested fix: change the [Service] section for /usr/lib/systemd/system/salt-minion.service to add:
KillMode=process
which, i believe, means when shutting down salt-minion, only send the kill signal to the salt-minion process itself - leave other spawned daemon processes alone
this fixed the issue for us
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1Priority 1Priority 1PlatformRelates to OS, containers, platform-based utilities like FS, system based appsRelates to OS, containers, platform-based utilities like FS, system based appsbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixfix is linked, bug author to confirm fixseverity-high2nd top severity, seen by most users, causes major problems2nd top severity, seen by most users, causes major problems