salt-minion restart on CentOS 6 host kills salt-minions in LXC containers
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
Thanks for the find! We should definitely be using a PID file or similar here.
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
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.