[Bug 559525] Re: Trace should ignore files in /var/log

Launchpad Bug Tracker 559525 at bugs.launchpad.net
Tue Mar 12 15:36:39 UTC 2013


** Branch linked: lp:ubuntu/ureadahead

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ureadahead in Ubuntu.
https://bugs.launchpad.net/bugs/559525

Title:
  Trace should ignore files in /var/log

Status in “ureadahead” package in Ubuntu:
  Fix Committed

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;

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ureadahead/+bug/559525/+subscriptions




More information about the foundations-bugs mailing list