Description of problem:
pam_fail_delay() function documentation states that it will delay execution by given time +- 25%, but it actually waits for given time +- 50%
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. set pam_fail_delay()
2. measure time of failed pam_authenticate()
When delay was set to 20s, I got this distribution:
Either the times to be between 15 and 25 seconds, or adjust documentation accordingly.
I already reported an upstrem bug after consulting with tmraz - https://fedorahosted.org/linux-pam/ticket/36
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.