Red Hat Bugzilla – Bug 996857
reverse arithmetic evaluation
Last modified: 2015-11-22 21:57:57 EST
Description of problem:
When arithmetic operation is done in configuration file like
if $msgid % 10 == 0 then /var/log/event.log
the evaluation happens in reverse ie 10 % $msgid, which happens to be wrong result/behavior.
Version-Release number of selected component (if applicable):
Created attachment 786420 [details]
The fix is attached
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
This is to be solved either by the rebase to v7 (bug 869600) or additional patch.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.