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

Bug 25035

Summary: freenet doesn't clean log files; can we add a cron job in ebuild?
Product: Gentoo Linux Reporter: Wesley Leggette <wleggette>
Component: New packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED WONTFIX    
Severity: minor CC: mr_bones_, net-p2p
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Wesley Leggette 2003-07-22 00:18:30 UTC
Freenet doesn't clean up it's log file /var/log/freenet.log. For myself, I've
written a simple script (just tail -n 10 /var/log/freenet.log....). Can we
include this kind of thing in the freenet ebuild?

If yes, what's a good default to tail by? 10? 20? 50? 100?

And of course, if I can I'd love to do the work of putting this in the ebuild.
So, how would I do that?
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-07-22 00:25:15 UTC
I think the proper way to handle this is for the freenet ebuild to drop
a file in /etc/logrotate.d and have the ebuild RDEPEND on app-admin/logrotate.
Comment 2 Wesley Leggette 2003-07-22 13:12:53 UTC
Didn't know that existed. Well, I'm going to work on that then.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-26 16:31:37 UTC
closing... just use logrotat.