Trace should ignore files in /var/log

Bug #559525 reported by lavinog
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ureadahead (Ubuntu)
Fix Released
Wishlist
Unassigned

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
Revision history for this message
Bryan Fullerton (fehwalker) wrote :
Changed in ureadahead (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.