[apparmor] [patch] don't install aa-eventd initscript

Christian Boltz apparmor at cboltz.de
Fri Sep 30 22:11:00 UTC 2011


Hello,

while aa-eventd is deprecated and no longer installed, parser/Makefile 
happily continued to install the initscript for aa-eventd.

This was reported by Jiri Srain as part of 
https://bugzilla.novell.com/show_bug.cgi?id=720617

The following patch removes the lines that install the aaeventd initscript
from parser/Makefile.

=== modified file 'parser/Makefile'
--- parser/Makefile     2011-09-01 18:57:54 +0000
+++ parser/Makefile     2011-09-30 22:03:43 +0000
@@ -246,17 +246,14 @@
 install-redhat:
        install -m 755 -d $(DESTDIR)/etc/init.d
        install -m 755 rc.apparmor.$(subst install-,,$@) $(DESTDIR)/etc/init.d/apparmor
-       install -m 755 rc.aaeventd.redhat $(DESTDIR)/etc/init.d/aaeventd
 
 .PHONY: install-suse
 install-suse:
        install -m 755 -d $(DESTDIR)/etc/init.d
        install -m 755 rc.apparmor.$(subst install-,,$(@)) $(DESTDIR)/etc/init.d/boot.apparmor
-       install -m 755 rc.aaeventd.$(subst install-,,$(@)) $(DESTDIR)/etc/init.d/aaeventd
        install -m 755 -d $(DESTDIR)/sbin
        ln -sf /etc/init.d/boot.apparmor $(DESTDIR)/sbin/rcapparmor
        ln -sf rcapparmor $(DESTDIR)/sbin/rcsubdomain
-       ln -sf /etc/init.d/aaeventd $(DESTDIR)/sbin/rcaaeventd
 
 .PHONY: install-slackware
 install-slackware:




Regards,

Christian Boltz
-- 
> Laut pin ist es in perl-$version.rpm enthalten, müsste also
> unproblematisch sein.
Das ist nicht ausschlaggebend, wenn SuSE will, können sie auch
OpenOffice in ihr perl.rpm mit reinstopfen.
[> Christian Boltz und Ratti in fontlinge-devel]



More information about the AppArmor mailing list