Mailinglist Archive: yast-devel (46 mails)

< Previous Next >
[yast-devel] [PATCH 0/3] yast-apparmor: Remove Perl dependency
Apparmor has come a long way since we wrote yast scripts for
apparmor. For one, it has changed most of its utils to use python
instead of perl. perl libraries in apparmor are no longer maintained
and soon will be removed. In order to get yast up to times with
apparmor changes, I propse the following patches.

The patches are not up to mark to be included immediately, so I decided
to send it here so it gets a better review as opposed to a pull request.
Mostly, I think it can be improved in layout.

I worked with the apparmor team to include JSON in the tools which is
under review and will be included soon. Tools such as aa-logprof and
aa-genprof are interactive, like a question-response session and hence
need libraries like ruby popen to handle that. The communication is in
JSON and is converted to a Yast dialog and the response is converted to
a JSON response the tool expects.

We will lose the ability to edit a profile (which was not complete
currently). The prime reason being we cannot generate a complete list
of changes we can have and such things are ever-changing. Besides,
we don't want to add the logic of validating keywords in Yast. If there
is a demand, we can consider options possible.

TODO:
In the future, I intend to add generating profiles for new programs.
This would ease the process of adding new profiles.

--
Goldwyn

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >