On 11/20/2017 05:29 AM, Viacheslav Salnikov wrote: > Hi Tyler and John, > > /The majority of the profile manipulation tools are now written in python. > / > Could you please provide more detailed information about these tools? > Like a list, at least.
The following tools will be available to you without Python: - apparmor_parser which allows you to compile and load AppArmor profiles - aa-exec which allows you to confine processes with arbitrary AppArmor profiles, namespaces, etc. - aa-enabled which allows you to verify that AppArmor is enabled The following tools will not be available to you since they depend on Python (or Perl): - aa-audit - aa-autodep - aa-cleanprof - aa-complain - aa-decode - aa-disable - aa-enforce - aa-genprof - aa-logprof - aa-mergeprof - aa-status - aa-unconfined - aa-update-browser They're optional and, with the exception of aa-status, not installed by default in Ubuntu. Please see their man pages for details. Tyler > > /$ (cd libraries/libapparmor && ./autogen.sh && ./configure \ > && make && make check) && \ > (cd binutils && make && make check) && \ > (cd parser && make) > / > Thank you, I will try. > > // > // > > 2017-11-17 21:06 GMT+02:00 Tyler Hicks <[email protected] > <mailto:[email protected]>>: > > On 11/17/2017 12:57 PM, John Johansen wrote: > > On 11/17/2017 01:33 AM, Viacheslav Salnikov wrote: > >> Hi guys, > >> > >> I have a question about apparmor and its dependency from python. > >> I'm using it with Yocto, apparmor version is 2.11.0. > >> > >> Except*aa-easyprof*, does apparmor or its libraries and utilities use > python for something? I am talking not only about execution but also about > compilation, installing etc. > >> > > the very base of apparmor, parser, libraries, some basic tools > aa-enabled, aa-exec do not use python, this allows for minimal installs with > very few dependencies. > > You should be able to build the library, parser, and binutils without > Python. Your build commands would look something like: > > $ (cd libraries/libapparmor && ./autogen.sh && ./configure \ > && make && make check) && \ > (cd binutils && make && make check) && \ > (cd parser && make) > > You won't be able to run `make check` in parser/ as some of the tests > depend on Python (and some Perl). > > Tyler > >
signature.asc
Description: OpenPGP digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
