Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115564 - acpid: Don't print any logrotate output unless it's some kind of error
Summary: acpid: Don't print any logrotate output unless it's some kind of error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Henrik Brix Andersen
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-12-14 11:04 UTC by Jan Spitalnik
Modified: 2005-12-17 07:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
logrotate patch (acpid.logrotate.patch,314 bytes, patch)
2005-12-14 11:05 UTC, Jan Spitalnik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Spitalnik 2005-12-14 11:04:44 UTC
The logrotate snippet should contain >/dev/null in the postrotate part to drop 
any non-error output as otherwise useless junk gets mailed to root. 

Reproducible: Always
Steps to Reproduce:
Comment 1 Jan Spitalnik 2005-12-14 11:05:13 UTC
Created attachment 74746 [details, diff]
logrotate patch
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-12-14 13:49:44 UTC
acpid's logrotate file is installed by acpid, not by logrotate.
Comment 3 Henrik Brix Andersen 2005-12-17 07:03:59 UTC
Fixed in CVS, thank you for reporting this.