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

This commit is contained in:
Vitezslav Crhonek 2012-07-31 13:35:22 +02:00
parent 54d4c594b9
commit 501165f27f

View File

@ -8,7 +8,7 @@
Name: tog-pegasus Name: tog-pegasus
Version: %{major_ver}.1 Version: %{major_ver}.1
Release: 8%{?dist} Release: 9%{?dist}
Epoch: 2 Epoch: 2
Summary: OpenPegasus WBEM Services for Linux Summary: OpenPegasus WBEM Services for Linux
@ -343,6 +343,7 @@ fi
%post %post
install -d -m 1750 -o root -g pegasus /var/run/tog-pegasus install -d -m 1750 -o root -g pegasus /var/run/tog-pegasus
restorecon /var/run/tog-pegasus
/sbin/ldconfig; /sbin/ldconfig;
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
echo `date` >> /var/lib/Pegasus/log/install.log 2>&1 || :; echo `date` >> /var/lib/Pegasus/log/install.log 2>&1 || :;
@ -438,6 +439,9 @@ fi
%changelog %changelog
* Tue Jul 31 2012 Vitezslav Crhonek <vcrhonek@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@lists.fedoraproject.org> - 2:2.11.1-8 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.11.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild