From 672a6a9a9a48a2bfa3a8399ad32360b25c773946 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 21 Jan 2014 15:52:37 +0100 Subject: [PATCH] Fix wrong SELinux context of /var/lock/mrtg --- mrtg.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mrtg.spec b/mrtg.spec index e903f8a..6dfd8d7 100644 --- a/mrtg.spec +++ b/mrtg.spec @@ -6,7 +6,7 @@ Summary: Multi Router Traffic Grapher Name: mrtg Version: 2.17.4 -Release: 11%{?dist} +Release: 12%{?dist} URL: http://oss.oetiker.ch/mrtg/ Source0: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz Source1: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz.md5 @@ -105,6 +105,7 @@ sed -i 's;@@lib@@;%{_lib};g' "$RPM_BUILD_ROOT"%{_mandir}/man1/*.1 %post install -d -m 0755 -o root -g root /var/lock/mrtg +restorecon /var/lock/mrtg %systemd_post mrtg.service %preun @@ -138,6 +139,9 @@ fi %{_unitdir}/mrtg.timer %changelog +* Tue Jan 21 2014 Vitezslav Crhonek - 2.17.4-12 +- Fix wrong SELinux context of /var/lock/mrtg + * Sat Aug 03 2013 Fedora Release Engineering - 2.17.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild