Red Hat Bugzilla – Bug 469702
faillog -p takes forever if /var/log/faillog has gone huge sparse.
Last modified: 2012-06-14 16:47:08 EDT
Escalated to Bugzilla from IssueTracker
There is a bug with the print code in that is simply reads the whole file sequentially to meet the man page of printing in UID order. Since the output does not actually include the UID it is a little redundant stating or assuming UID order which therefore gives an optimal way of reworking the code.
Created attachment 322334 [details]
patch reworking entry read/writes and avoid filling in holes. also optimal print
Created attachment 402793 [details]
patch backported from RHEL5