monitoring/rhnmd/rhnmd.spec | 7 +++++--
rel-eng/packages/rhnmd | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
New commits:
commit cb6c212c9f17baa9f5cb16441b42ba07bea369fc
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 29 14:46:07 2013 +0200
Automatic commit of package [rhnmd] release [5.3.18-1].
diff --git a/monitoring/rhnmd/rhnmd.spec b/monitoring/rhnmd/rhnmd.spec
index cc4af4a..3574bd5 100644
--- a/monitoring/rhnmd/rhnmd.spec
+++ b/monitoring/rhnmd/rhnmd.spec
@@ -9,7 +9,7 @@ Summary: Spacewalk Monitoring Daemon
Name: rhnmd
URL:
https://fedorahosted.org/spacewalk
Source0:
https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
-Version: 5.3.17
+Version: 5.3.18
Release: 1%{?dist}
License: GPLv2
BuildArch: noarch
@@ -188,6 +188,9 @@ rm -rf $RPM_BUILD_ROOT
%doc LICENSE
%changelog
+* Mon Jul 29 2013 Michael Mraka <michael.mraka(a)redhat.com> 5.3.18-1
+- 893096 - bind rhnmd to port on new RHEL
+
* Tue May 21 2013 Tomas Kasparek <tkasparek(a)redhat.com> 5.3.17-1
- misc branding clean up
diff --git a/rel-eng/packages/rhnmd b/rel-eng/packages/rhnmd
index 325cceb..3d9fefe 100644
--- a/rel-eng/packages/rhnmd
+++ b/rel-eng/packages/rhnmd
@@ -1 +1 @@
-5.3.17-1 monitoring/rhnmd/
+5.3.18-1 monitoring/rhnmd/
commit 735a8220c954186373fcf4c640002c513df84673
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Jul 29 14:38:15 2013 +0200
893096 - bind rhnmd to port on new RHEL
fixing
type=AVC msg=audit(1375100630.341:771): avc: denied { name_bind } for pid=19076
comm="rhnmd" src=4545 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023
tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket
diff --git a/monitoring/rhnmd/rhnmd.spec b/monitoring/rhnmd/rhnmd.spec
index f12618a..cc4af4a 100644
--- a/monitoring/rhnmd/rhnmd.spec
+++ b/monitoring/rhnmd/rhnmd.spec
@@ -140,7 +140,7 @@ fi
/usr/sbin/semanage fcontext -a -t ssh_home_t
'/var/lib/nocpulse/\.ssh/authorized_keys' || :
%endif
/sbin/restorecon -rvv /var/lib/nocpulse || :
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} > 6
/usr/sbin/semanage port -l | grep -q '^ssh_port_t\b.*\btcp\b.*\b4545\b' ||
/usr/sbin/semanage port -a -t ssh_port_t -p tcp 4545 || :
%endif
%endif