Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374513 - sys-auth/consolekit should provide a logrotate config file
Summary: sys-auth/consolekit should provide a logrotate config file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
: 375855 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-09 07:13 UTC by Vladimir Berezhnoy
Modified: 2017-01-01 14:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Berezhnoy 2011-07-09 07:13:11 UTC
consolekit log file tends to grow a lot, mine is about 50Mb after three months of use.

$ ls -l /var/log/ConsoleKit/history 
-rw-r--r-- 1 root root 54505000 Jul  9 11:09 /var/log/ConsoleKit/history


Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-07-09 07:43:43 UTC
Per the Debian bug report linked here, monthly rotate might be in order and Debian's package should have ready config for this ...
Comment 2 Pacho Ramos gentoo-dev 2011-07-22 12:25:02 UTC
*** Bug 375855 has been marked as a duplicate of this bug. ***
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-03-15 12:34:12 UTC
added to 0.4.6 from Debian "latest"

ssuominen@null ~/gentoo-x86/sys-auth/consolekit $ cat /etc/logrotate.d/consolekit 
/var/log/ConsoleKit/history {
       monthly
       rotate 6
       delaycompress
       compress
       notifempty
       missingok
}