From 0e1966b81047cfb35687d5cc3978d4169e88c071 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Aug 31 2008 16:54:48 +0000 Subject: fix zos selinux policy file --- diff --git a/audit-1.7.5-policy.patch b/audit-1.7.5-policy.patch new file mode 100644 index 0000000..c1752a6 --- /dev/null +++ b/audit-1.7.5-policy.patch @@ -0,0 +1,12 @@ +diff -urp audit-1.7.5.orig/audisp/plugins/zos-remote/policy/audispd-zos-remote.te audit-1.7.5/audisp/plugins/zos-remote/policy/audispd-zos-remote.te +--- audit-1.7.5.orig/audisp/plugins/zos-remote/policy/audispd-zos-remote.te 2008-08-31 12:42:58.000000000 -0400 ++++ audit-1.7.5/audisp/plugins/zos-remote/policy/audispd-zos-remote.te 2008-08-31 12:43:24.000000000 -0400 +@@ -10,7 +10,7 @@ type zos_remote_exec_t; + + ## use below if selinux-policy_devel > 3: + ## zos_remote_application_domain(zos_remote_t, zos_remote_exec_t) +-logging_audisp_system_domain(zos_remote_t, zos_remote_exec_t) ++## logging_audisp_system_domain(zos_remote_t, zos_remote_exec_t) + + ## use below for RHEL5 series: + init_system_domain(zos_remote_t, zos_remote_exec_t) diff --git a/audit.spec b/audit.spec index ddf6703..4da2efb 100644 --- a/audit.spec +++ b/audit.spec @@ -12,6 +12,7 @@ License: GPLv2+ Group: System Environment/Daemons URL: http://people.redhat.com/sgrubb/audit/ Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz +Patch1: audit-1.7.5-policy.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext-devel intltool libtool swig python-devel BuildRequires: kernel-headers >= 2.6.18 @@ -95,6 +96,7 @@ A graphical utility for editing audit configuration. %prep %setup -q +%patch1 -p1 mkdir zos-remote-policy cp -p audisp/plugins/zos-remote/policy/audispd-zos-remote.* zos-remote-policy