Bug 469702

Summary: faillog -p takes forever if /var/log/faillog has gone huge sparse.
Product: Red Hat Enterprise Linux 4 Reporter: Issue Tracker <tao>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE <qe-baseos-auto>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.7CC: jwest, mmalik, mpoole, raud, rbinkhor, sgrubb, tao
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 517816 (view as bug list) Environment:
Last Closed: 2012-06-14 20:47:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 485811, 517816, 577201    
Attachments:
Description Flags
patch reworking entry read/writes and avoid filling in holes. also optimal print
none
patch backported from RHEL5 none

Description Issue Tracker 2008-11-03 16:06:08 UTC
Escalated to Bugzilla from IssueTracker

Comment 1 Martin Poole 2008-11-03 16:13:31 UTC
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.

Comment 2 Martin Poole 2008-11-03 16:15:23 UTC
Created attachment 322334 [details]
patch reworking entry read/writes and avoid filling in holes. also optimal print

Comment 8 Peter Vrabec 2010-03-26 10:57:24 UTC
Created attachment 402793 [details]
patch backported from RHEL5