Re: [apparmor] [patch] require logfile only for aa-logprof and aa-genprof

2015-02-20 Thread Christian Boltz
Hello, Am Freitag, 20. Februar 2015 schrieb Seth Arnold: > On Fri, Feb 20, 2015 at 08:23:02PM +0100, Christian Boltz wrote: > > this patch makes sure most tools (for example aa-complain) don't > > error out if no logfile can be found. (For obvious reasons, > > aa-logprof and aa-genprof will still

Re: [apparmor] [patch] require logfile only for aa-logprof and aa-genprof

2015-02-20 Thread Seth Arnold
On Fri, Feb 20, 2015 at 08:23:02PM +0100, Christian Boltz wrote: > Hello, > > this patch makes sure most tools (for example aa-complain) don't error > out if no logfile can be found. (For obvious reasons, aa-logprof and > aa-genprof will still require a logfile ;-) > > This is done by moving co

[apparmor] [patch] require logfile only for aa-logprof and aa-genprof

2015-02-20 Thread Christian Boltz
Hello, this patch makes sure most tools (for example aa-complain) don't error out if no logfile can be found. (For obvious reasons, aa-logprof and aa-genprof will still require a logfile ;-) This is done by moving code from the global area in aa.py to the new function set_logfile(), which is ca