Re: [apparmor] AppArmor dependency on python

2017-11-17 Thread Tyler Hicks
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
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor


Re: [apparmor] AppArmor dependency on python

2017-11-17 Thread John Johansen
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.

the library presents a set of C interfaces but can be built with swig providing 
interfaces for other languages, python, perl, ...

The majority of the profile manipulation tools are now written in python.

There are a few tools that haven't been rewritten and that are still using perl 
(aa-notify)

and a couple small utilities are in bash atm (aa-decode)

-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor


[apparmor] AppArmor dependency on python

2017-11-17 Thread Viacheslav Salnikov
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.

Thanks!
-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor


Re: [apparmor] Let's enable AppArmor by default (why not?)

2017-11-17 Thread intrigeri
Hi,

intrigeri:
> The next upload of the linux-image packages will "Recommends: apparmor".

Done ⇒ AppArmor is now enabled by default in sid.
Let the experiment begin!

Now is time to report and fix bugs. To make sure they are on the radar
of the AppArmor team, please apply the relevant usertag:

  https://wiki.debian.org/AppArmor/Reportbug

Thanks in advance, and sorry for any inconvenience it may cause (e.g.
the AppArmor policy for Thunderbird has various issues in sid; all of
those I'm aware of are fixed in experimental already).

Cheers,
-- 
intrigeri

-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor