Open robinbowes opened 8 years ago
yum itself prevents running multiple yum commands. Are you referring to a situation where multiple people on a mco client are trying to use the mco yum application? I could see a use for that.
And I agree with the kill command, that's a great idea.
yum prevents multiple commands from actually executing, but it won't stop mcollective launching the processes, which will then sit there waiting from the yum process that has the lock to finish.
I was thinking it might be better to prevent that and only allow one yum process to be run by the mcollective process?
Yeah, OK, agree.
The yum command should drop some sort of semaphore to prevent multiple instances of the yum command being launched.
There should also be a command to kill any currently running yum processes (in the event that a yum command hangs or is taking too long to run).