[munin] Add PrivateTmp=true to systemd unit file. Fixes bug #782512 Change logrotate to use munin user. Fixe
Kevin Fenzi
kevin at fedoraproject.org
Fri Jan 20 21:12:12 UTC 2012
commit d1fe6d3f68e0ab1b076130e17e70175ac640ee8c
Author: Kevin Fenzi <kevin at scrye.com>
Date: Fri Jan 20 14:12:09 2012 -0700
Add PrivateTmp=true to systemd unit file. Fixes bug #782512
Change logrotate to use munin user. Fixes bug #771017
munin-node.logrotate | 2 +-
munin-node.service | 1 +
munin.spec | 6 +++++-
3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/munin-node.logrotate b/munin-node.logrotate
index 54e59ac..05e8105 100644
--- a/munin-node.logrotate
+++ b/munin-node.logrotate
@@ -5,5 +5,5 @@
compress
copytruncate
notifempty
- create 640 root adm
+ create 644 munin munin
}
diff --git a/munin-node.service b/munin-node.service
index ac7257e..4d0351a 100644
--- a/munin-node.service
+++ b/munin-node.service
@@ -6,6 +6,7 @@ After=syslog.target network.target
Type=forking
PIDFile=/var/run/munin/munin-node.pid
ExecStart=/usr/sbin/munin-node
+PrivateTmp=true
[Install]
WantedBy=multi-user.target
diff --git a/munin.spec b/munin.spec
index f16ac71..0daa308 100644
--- a/munin.spec
+++ b/munin.spec
@@ -1,6 +1,6 @@
Name: munin
Version: 1.4.6
-Release: 5%{?dist}.3
+Release: 6%{?dist}
Summary: Network-wide graphing framework (grapher/gatherer)
License: GPLv2 and Bitstream Vera
Group: System Environment/Daemons
@@ -345,6 +345,10 @@ exit 0
%changelog
+* Fri Jan 20 2012 Kevin Fenzi <kevin at scrye.com> - 1.4.6-6
+- Add PrivateTmp=true to systemd unit file. Fixes bug #782512
+- Change logrotate to use munin user. Fixes bug #771017
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.6-5.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list