Skip to content
Policy macros used for shipping custom selinux policies. These macros are shipped with selinux-policy rpm package in Fedora
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
PURPOSE
README.adoc
macros.selinux-policy
runtest.sh

README.adoc

Tests

$ sudo dnf install beakerlib
$ sudo ./runtest.sh

DONE

  • macros.selinux-policy: store current value to %{_file_custom_defined_booleans}

  • macros.selinux-policy: use value from %{_file_custom_defined_booleans} and set it via semanage (import|boolean)

  • prepare a basic testsuite with these situations

    • install/uninstall package

      • with a boolean not modified before

      • with a boolean modified before

      • with a boolean modified before but twice - to a default value

    • install/uninstall multiple packages

      • with a boolean not modified before

      • with a boolean modified before

      • with a boolean modified before but twice - to a default value

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.