pm-suspend.log needs to be rotated.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pm-utils (Ubuntu) |
Fix Released
|
High
|
James Westby | ||
Karmic |
Fix Released
|
High
|
James Westby |
Bug Description
Binary package hint: rsyslog
pm-suspend.log is written by pm-suspend/resume scripts directly to /var/log directory. For latops that suspends resumes all the time, but has an occasional fail might produce large enough log file and end up getting truncated instead of getting rotated.
We are thinking of writing apport hooks that will file a bug with low priority if we can determine that the failure is a one off failure, and file critical bugs when it fails more often or every time. With the current scheme we will throw away information that will be require to make a correct guess.
I would like to see rsyslog rotate the suspend/resume logs. Also I wonder why pm scripts dont use rsyslog to log these logs but have their own little function to do it, the only reason I could think of is, rsyslog operation might not be atomic, so suspend/resume might be slow?
Related branches
Changed in rsyslog (Ubuntu Karmic): | |
importance: | Undecided → High |
Changed in pm-utils (Ubuntu Karmic): | |
assignee: | nobody → James Westby (james-w) |
status: | Incomplete → Confirmed |
Any particular reason this needs to be done in rsyslog rather than having pm-utils rotate them itself?