[tog-pegasus] Fix security context of /var/run/tog-pegasus in post install scriptlet

vcrhonek vcrhonek at fedoraproject.org
Tue Jul 31 11:35:54 UTC 2012


commit 501165f27f7eb5cd8d157c7aea99f98bd2328da3
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Tue Jul 31 13:35:22 2012 +0200

    Fix security context of /var/run/tog-pegasus in post install scriptlet

 tog-pegasus.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/tog-pegasus.spec b/tog-pegasus.spec
index cf9a130..005e14c 100644
--- a/tog-pegasus.spec
+++ b/tog-pegasus.spec
@@ -8,7 +8,7 @@
 
 Name:           tog-pegasus
 Version:        %{major_ver}.1
-Release:        8%{?dist}
+Release:        9%{?dist}
 Epoch:          2
 Summary:        OpenPegasus WBEM Services for Linux
 
@@ -343,6 +343,7 @@ fi
 
 %post
 install -d -m 1750 -o root -g pegasus /var/run/tog-pegasus
+restorecon /var/run/tog-pegasus
 /sbin/ldconfig;
 if [ $1 -ge 1 ]; then
    echo `date` >>  /var/lib/Pegasus/log/install.log 2>&1 || :;
@@ -438,6 +439,9 @@ fi
 
 
 %changelog
+* Tue Jul 31 2012 Vitezslav Crhonek <vcrhonek at redhat.com> - 2:2.11.1-9
+- Fix security context of /var/run/tog-pegasus in post install scriptlet
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2:2.11.1-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list