[apparmor] [PATCH] Convert aa-status to Python

Marc Deslauriers marc.deslauriers at canonical.com
Thu May 26 20:07:22 UTC 2011


Hi Seth,

On Thu, 2011-05-26 at 18:08 +0000, Seth Arnold wrote:
> You might want to profile boottimes with this change. I can't blame
> you for wanting to migrate tools away from Perl :) but aa-status is
> called in several startup scripts to see if apparmor profiles for
> those specific services should be loaded. Throwing python into boot
> sequence too might introduce significant costs compared to Perl.

Hmm..I'm not quite sure where this is used during boot. Is it in
SUSE-specific init scripts?

> 
> C or sh would make me happier.

For a tool used during boot, I would agree...but that doesn't seem to be
the case here.

In any case, I've just resubmitted it while moving the perl aa-status to
the deprecated directory in case it is still required for some distros.

Marc.





More information about the AppArmor mailing list