Red Hat Bugzilla – Bug 976743
Race condition in openlmi-service provider
Last modified: 2014-09-11 07:48:46 EDT
Created attachment 763749 [details]
openlmi-service-race.patch - Patch for review.
Description of problem:
Race condition windows in handling output from service command.
I rewrote Service_Operation function. But i don't tested nor compiled this patch. It's only how-to/idea how to do things like this.
Patch is simple output of git diff.
Version-Release number of selected component (if applicable):
openlmi-service provider: commit 7057f8c9ed6f51044a853710defde4ef14f2a340
I have couple of notes to your report:
1) It is not clear what is the problem. Race condition when? Is the problem using mktemp instead of mkstemp? I would rather see detailed description of the problem instead of untested patch.
2) This provider (service) is nor compiled nor present in Fedora packages (with exception of Fedora 17). There is service-dbus provider which doesn't have this issue. Nevertheless this issue still needs to be addressed.
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.
More information and reason for this action is here: