[apparmor] [patch] remove -f from startproc in start_aa_event() (apparmor-startproc.patch)

Steve Beattie steve at nxnw.org
Tue Aug 9 09:29:01 UTC 2011


On Tue, Aug 09, 2011 at 12:02:00AM +0200, Christian Boltz wrote:
> Hello,
> 
> another short patch from openSUSE.
> 
> It removes the "-f" parameter from startproc in rc.aaeventd.suse / 
> start_aa_event().
> 
> (I don't know why Jeff did this - ask him if you want to know it ;-)

Fine by me. Generally for the per-distro bits of the initscripts I'm pretty
much willing to give carte blanche to that distro.
Acked-By: Steve Beattie <sbeattie at ubuntu.com>

> ---
>  parser/rc.aaeventd.suse |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> --- a/parser/rc.aaeventd.suse
> +++ b/parser/rc.aaeventd.suse
> @@ -78,9 +78,9 @@ usage() {
>  
>  start_aa_event() {
>  	if [ -x "$AA_EV_BIN" -a "${APPARMOR_ENABLE_AAEVENTD}" = "yes" ] ; then
> -		sd_action "Starting AppArmor Event daemon" startproc -f -p $AA_EV_PIDFILE $AA_EV_BIN -p $AA_EV_PIDFILE
> +		sd_action "Starting AppArmor Event daemon" startproc -p $AA_EV_PIDFILE $AA_EV_BIN -p $AA_EV_PIDFILE
>  	elif [ -x "$SD_EV_BIN" -a "${APPARMOR_ENABLE_AAEVENTD}" = "yes" ] ; then
> -		sd_action "Starting AppArmor Event daemon" startproc -f -p $SD_EV_PIDFILE $SD_EV_BIN -p $SD_EV_PIDFILE
> +		sd_action "Starting AppArmor Event daemon" startproc -p $SD_EV_PIDFILE $SD_EV_BIN -p $SD_EV_PIDFILE
>  	fi
>  }


-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20110809/5df4496b/attachment.pgp>


More information about the AppArmor mailing list