Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 374513

Summary: sys-auth/consolekit should provide a logrotate config file
Product: Gentoo Linux Reporter: Vladimir Berezhnoy <non7top>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: http://bugs.debian.org/537833
Whiteboard:
Package list:
Runtime testing required: ---

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
}