From 707fda6680279e8bdf6e155791b67244b2c5c920 Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Fri, 17 Aug 2007 18:14:57 +0000 Subject: [PATCH] This patch disables the apparmor event reporting daemon service before uninstalling the apparmor-parser package. [#301418] --- parser/apparmor-parser.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/parser/apparmor-parser.spec.in b/parser/apparmor-parser.spec.in index 02594425a..54f55bf79 100644 --- a/parser/apparmor-parser.spec.in +++ b/parser/apparmor-parser.spec.in @@ -160,9 +160,11 @@ fi %preun if [ "$1" = 0 ] ; then %if %{distro} == "suse" + /sbin/insserv -r aaeventd /sbin/insserv -r boot.apparmor %endif %if %{distro} == "redhat" || %{distro} == "rhel4" + chkconfig --del aaeventd chkconfig --del apparmor %endif fi @@ -173,6 +175,8 @@ fi %endif %changelog +* Fri Aug 17 2007 - sbeattie@suse.de +- disable aaeventd before uninstall [#301418] * Fri Jul 27 2007 - sbeattie@suse.de - Allow inverted character classes in unquoted pathnames - Fix return code propogation in initscripts