salt icon indicating copy to clipboard operation
salt copied to clipboard

salt-minion restart on CentOS 6 host kills salt-minions in LXC containers

Open imtx opened this issue 12 years ago • 3 comments

The reason is obvious: init script does not take in account that could be more than one independant instance of salt-minion on one system. Init script should use PID files or something like this to kill only right instance of salt-minion.

salt-minion 2014.1.10

imtx avatar Sep 01 '14 07:09 imtx

Thanks for the find! We should definitely be using a PID file or similar here.

basepi avatar Sep 02 '14 21:09 basepi

For the record, we do generate pid files, we just need to have the init system use them.

/var/run/salt-master.pid
/var/run/salt-minion.pid

basepi avatar Sep 02 '14 21:09 basepi

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

stale[bot] avatar Nov 21 '17 21:11 stale[bot]