ClusterLabs/resource-agents — comment on commit 8ecde840b1045e452f603e74f4413125e46a1638
File:  line 0
By kskmori:

I don't think so. The bug seems have been included in a certain versions of rsyslog, not limited to one in RHEL5.
The fixed code just works with any versions of rsyslog, no matter if it has the bug or not, without any drawbacks.

Also RHEL6 branch is for the package shipped with RHEL6 in my understanding (please correct me if I'm wrong)
so it does not make sense to create a RHEL5 branch.

I agree that every RA should use ocf_run as you said of course, and this fix is just an exception for a workaround.