commit a4d0011b2cb19e1f8cc857ffddab872e4ca34a52
Author: D. Johnson <fenris02(a)fedoraproject.org>
Date: Fri Nov 30 19:30:45 2012 -0600
logrotate fix
munin-node.logrotate | 1 +
munin.logrotate | 52 ++++++++++++++++++++++++++-----------------------
munin.spec | 6 +++-
3 files changed, 33 insertions(+), 26 deletions(-)
---
diff --git a/munin-node.logrotate b/munin-node.logrotate
index 05e8105..6eae791 100644
--- a/munin-node.logrotate
+++ b/munin-node.logrotate
@@ -6,4 +6,5 @@
copytruncate
notifempty
create 644 munin munin
+ su munin munin
}
diff --git a/munin.logrotate b/munin.logrotate
index 9ebece4..11abd53 100644
--- a/munin.logrotate
+++ b/munin.logrotate
@@ -1,35 +1,39 @@
/var/log/munin/munin-update.log {
- daily
- missingok
- rotate 7
- compress
- notifempty
- create 640 munin adm
+ daily
+ missingok
+ rotate 7
+ compress
+ notifempty
+ create 640 munin munin
+ su munin munin
}
/var/log/munin/munin-graph.log {
- daily
- missingok
- rotate 7
- compress
- notifempty
- create 640 munin adm
+ daily
+ missingok
+ rotate 7
+ compress
+ notifempty
+ create 640 munin munin
+ su munin munin
}
/var/log/munin/munin-html.log {
- daily
- missingok
- rotate 7
- compress
- notifempty
- create 640 munin adm
+ daily
+ missingok
+ rotate 7
+ compress
+ notifempty
+ create 640 munin munin
+ su munin munin
}
/var/log/munin/munin-limits.log {
- daily
- missingok
- rotate 7
- compress
- notifempty
- create 640 munin adm
+ daily
+ missingok
+ rotate 7
+ compress
+ notifempty
+ create 640 munin munin
+ su munin munin
}
diff --git a/munin.spec b/munin.spec
index 7c254f4..4260161 100644
--- a/munin.spec
+++ b/munin.spec
@@ -1,6 +1,6 @@
Name: munin
Version: 2.0.8
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Network-wide graphing framework (grapher/gatherer)
Group: System Environment/Daemons
@@ -632,7 +632,6 @@ exit 0
%files cgi
%defattr(-,root,root)
-%attr(0755,root,root) %dir /var/www/cgi-bin
%attr(0755,root,munin) /var/www/cgi-bin/munin-cgi-graph
%attr(0755,root,munin) /var/www/cgi-bin/munin-cgi-html
%config(noreplace) %{_sysconfdir}/sysconfig/spawn-fcgi-munin
@@ -644,6 +643,9 @@ exit 0
%changelog
+* Fri Nov 30 2012 D. Johnson <fenris02(a)fedoraproject.org> - 2.0.8-3
+- BZ# 880505 munin logrotate permissions fix.
+
* Tue Nov 13 2012 D. Johnson <fenris02(a)fedoraproject.org> - 2.0.8-2
- Added cgitmp patch c/o Diego Elio Pettenò <flameeyes(a)flameeyes.eu>
- BZ# 861816 Add sample files for switching to FCGI
Show replies by date