Bug 469702 - faillog -p takes forever if /var/log/faillog has gone huge sparse.
Summary: faillog -p takes forever if /var/log/faillog has gone huge sparse.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: shadow-utils
Version: 4.7
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Peter Vrabec
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks: 485811 517816 577201
TreeView+ depends on / blocked
 
Reported: 2008-11-03 16:06 UTC by Issue Tracker
Modified: 2018-10-27 14:34 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 517816 (view as bug list)
Environment:
Last Closed: 2012-06-14 20:47:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch reworking entry read/writes and avoid filling in holes. also optimal print (6.55 KB, patch)
2008-11-03 16:15 UTC, Martin Poole
no flags Details | Diff
patch backported from RHEL5 (6.48 KB, patch)
2010-03-26 10:57 UTC, Peter Vrabec
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.