Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336848 - sys-cluster/corosync please provide a logrotate script
Summary: sys-cluster/corosync please provide a logrotate script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-09-11 17:46 UTC by Anthony Basile
Modified: 2010-10-03 17:51 UTC (History)
0 users

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 Anthony Basile gentoo-dev 2010-09-11 17:46:30 UTC
Corosync logs can grow large.  We should logrotate them.  Other distributions, like Debian, provide a logrotate script with corosync.

Reproducible: Always




Here's the log rotate script that I use on my cluster:

/var/log/cluster/corosync.log {
	missingok
	notifempty
	sharedscripts
}

It can easily be installed by adding

	insinto /etc/logrotate.d
	newins "${FILESDIR}"/corosync.logrotate corosync

to src_install().
Comment 1 Anthony Basile gentoo-dev 2010-10-03 17:18:35 UTC
Hmm ... no response for a while.  Did I incorrectly assign it?  Was assigned to cardoe@gentoo.org, sending it to the herd.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-10-03 17:51:03 UTC
Fixed in tree, thanks!
+*corosync-1.2.8-r1 (03 Oct 2010)
+
+  03 Oct 2010; Kacper Kowalik <xarthisius@gentoo.org>
+  -corosync-1.2.8.ebuild, +corosync-1.2.8-r1.ebuild,
+  +files/corosync.logrotate:
+  Add logrotate script wrt bug 336848. Drop old.