The YaST2 AppArmor module is still based on the Immunix::* perl modules that are deprecated upstream and therefore causes some maintenance "fun". Upstream AppArmor utils were rewritten in python.

The idea is to rewrite the YaST2 AppArmor module to use the python modules or JSON interfaces.

The profile editor could either use the python modules directly, or a to-be-written interface that hands over the profile in an easily parseable format (for example a JSON array).

In the past, YaST2 also had graphical interfaces for aa-genprof and aa-logprof. It would be nice to get them back ;-) Again, I propose a JSON-based interface with aa-logprof and aa-genprof that hands over the questions to ask, available options and buttons, and then sends back the selected option and the button clicked to aa-logprof. YaST would "just" need to convert the JSON to a nice dialog ;-)

I can help on the AppArmor side (for example implement the needed JSON interface), but I know nothing about YaST programming ;-)

Looking for hackers with the skills:

yast apparmor

This project is part of:

Hack Week 11

Activity

  • about 11 years ago: cboltz added keyword "apparmor" to this project.
  • about 11 years ago: cboltz added keyword "yast" to this project.
  • about 11 years ago: cboltz liked this project.
  • about 11 years ago: cboltz originated this project.

  • Comments

    • mvidner
      about 11 years ago by mvidner | Reply

      I already have another project but I offer advice to anyone wanting to try YaST coding.

    Similar Projects

    openSUSE on ZoL from OpenZFS project by jkohoutek

    Idea is to have SUSE system with OpenZFS as root FS.

    Why ZFS

    Ways in which ZFS is better than BTRFS

    Main goal

    Have OpenZFS as install option in the installer and utilize zedenv Boot Environment Manager for SUSE updates install

    Goals

    • synergy of ZFS with dracut, so snapshots are correctly added to the grub
    • synergy of zedenv with zypper
      • before every update snapshot is created
      • when new kernel or other package which requires reboot is about to be installed, the update will be processed to the new boot environment snapshot and grub configuration changed to boot to this new one
    • integrate Root on ZFS as install option to the YaST
    • configure Kiwi for the ZFS install images

    Completed goals

    • prepare ZFS pool compatible with openSUSE installation ✓
    • install openSUSE with root on ZFS ✓
    • boot to the prepared and installed system ✓

    Current progress

    Resources: