[apparmor] apparmor utils --json for yast support

Christian Boltz apparmor at cboltz.de
Sun Jan 15 12:47:10 UTC 2017


Hi Goldwyn,

Am Freitag, 13. Januar 2017, 13:22:02 CET schrieb Goldwyn Rodrigues:
> On 01/13/2017 12:25 PM, Christian Boltz wrote:
> > Am Donnerstag, 7. Juli 2016, 21:33:17 CET schrieb Goldwyn Rodrigues:
> >> Thanks, Thats a lot of information. I will work on this and let you
> >> know as the work progresses.
> > 
> > Half a year later - any progress?
> 
> I've had other pressing matters. In any case. I worked a bit on the
> patch to make it more suitable for processing. I basically stripped it
> off the new lines so that there is one record per line.

Sounds like the difference between "human readable" and "machine 
readable" ;-) - and for obvious reasons, machine readable is more 
important here since aa-logprof already has a human-readable interface 
without json.

> I can send the patch if you wish.

Whenever you think it's useful enough and/or want someone to review it 
;-)

> > Someone at SUSE recommended that I should announce that the perl
> > modules will finally be dropped in the next release to force
> > progress in YaST. If you need this to get a time budget for working
> > on this, tell me and I'll happily send that announcement to the
> > YaST mailinglist ;-)
> > 
> > Even without such an announcement, I can tell you that none of the
> > upstream developers will touch the perl modules, so you'll at least
> > have to implement dconf rule support yourself.
> 
> Dropping the modules may help.

Tell me if you need such an announcement to convince your manager ;-)

> However, since no one is touching it,
> it rather might be there. 

The "no one is touching it" is exactly the problem - when dconf rules 
get added and one of the profiles contains such a rule, the perl code 
will explode and tell you about an invalid rule. (This is why I wrote 
that you'll at least have to add support for dconf rules to the perl 
code.)

And the "it's still there" is why nobody focussed on rewriting the YaST 
module ;-))

> In the meantime, I should get some time to
> ramp up with ruby and initiate the port.
> 
> As for the time, I hope to do this during Hackweek, which should be
> mid-feb, so a timeframe of May/June 2017 should be good. What do you
> say?

Sounds good :-)

IIRC most people do reports or even a short video about their hackweek 
project, so please keep us updated ;-)


Regards,

Christian Boltz
-- 
Life used to be simpler when apple and blackberry were just fruits!
[from https://bugzilla.novell.com/quips.cgi]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20170115/0553d83f/attachment.pgp>


More information about the AppArmor mailing list