Trace should ignore files in /var/log

Bug #559525 reported by lavinog on 2010-04-09
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ureadahead (Ubuntu)

Bug Description

Binary package hint: ureadahead

Looking at the dump of my pack file, I see many log files listed.
These files are constantly changing so it doesn't make much sense to store their information in the pack file.
The files are more likely stored in more distant locations of the filesystem, which could increase unwanted head movement.
Also since they get rotated more frequently than the pack file is updated, the trace information will be invalid anyway.

Solution: add /var/log to the list of ignored paths (trace.c:ignore_path)
 if (! strncmp (pathname, "/var/log/", 9))
  return TRUE;

Related branches

Changed in ureadahead (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Bryan Fullerton (fehwalker) wrote :
Changed in ureadahead (Ubuntu):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ureadahead - 0.100.0-15

ureadahead (0.100.0-15) raring; urgency=low

  * src/ureadahead.c: correct help text for --sort command line argument
    (LP: #1131404)
  * src/trace.c: add /var/log to the paths ignored
    (LP: #559525)
 -- Bryan Fullerton <email address hidden> Tue, 12 Mar 2013 15:06:41 +0000

Changed in ureadahead (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers