monitoring/rhnmd/rhnmd.spec | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit fe016b4fb21fbabe80b49a608201f632d7f24515 Author: Jan Pazdziora jpazdziora@redhat.com Date: Fri Oct 7 16:53:49 2011 +0200
594647 - label rhnmd's files upon installation.
diff --git a/monitoring/rhnmd/rhnmd.spec b/monitoring/rhnmd/rhnmd.spec index 3c084b3..601bdee 100644 --- a/monitoring/rhnmd/rhnmd.spec +++ b/monitoring/rhnmd/rhnmd.spec @@ -27,6 +27,8 @@ Obsoletes: rhnmd.x86_64 < 5.3.0-5 Provides: rhnmd.i386 = %{version} Provides: rhnmd.x86_64 = %{version}
+Requires(post): /usr/sbin/semanage, /sbin/restorecon + %description rhnmd enables secure ssh-based communication between the monitoring scout and the monitored host. @@ -88,6 +90,9 @@ then fi %endif /sbin/chkconfig --add rhnmd +/usr/sbin/semanage fcontext -a -t sshd_key_t '/var/lib/nocpulse/.ssh/nocpulse-identity' || : +/usr/sbin/semanage fcontext -a -t ssh_home_t '/var/lib/nocpulse/.ssh/authorized_keys' || : +/sbin/restorecon -rvv /var/lib/nocpulse || :
%preun if [ $1 = 0 ]; then
spacewalk-commits@lists.fedorahosted.org