Trace should ignore files in /var/log
Bug #559525 reported by
lavinog
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.
if (! strncmp (pathname, "/var/log/", 9))
return TRUE;
Related branches
lp:~fehwalker/ubuntu/raring/ureadahead/fix-559525-1131404
- Serge Hallyn: Approve
- Ubuntu branches: Pending requested
-
Diff: 42 lines (+12/-1)3 files modifieddebian/changelog (+9/-0)
src/trace.c (+2/-0)
src/ureadahead.c (+1/-1)
Changed in ureadahead (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Fix committed on lp:~fehwalker/ubuntu/raring/ureadahead/fix-559525-1131404