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

John Johansen john.johansen at canonical.com
Fri Sep 30 22:17:06 UTC 2011


On 09/30/2011 03:11 PM, Christian Boltz wrote:
> 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:
> 
> 
Acked-by: John Johansen <john.johansen at canonical.com>



More information about the AppArmor mailing list