- Code: Select all
atlas ~ # audit2allow -a -M local
Generating type enforcment file: local.te
Compiling policy
checkmodule -m -o local.mod local.te
semodule_package -o local.pp -m local.mod
******************** IMPORTANT ***********************
In order to load this newly created policy package into the kernel,
you are required to execute
semodule -i local.pp
atlas ~ # semodule -i local.pp
libsepol.check_assertion_helper: assertion on line 0 violated by allow staff_t policy_config_t:file { relabelto };
libsepol.check_assertion_helper: assertion on line 0 violated by allow staff_t security_t:security { load_policy };
libsepol.check_assertion_helper: assertion on line 0 violated by allow staff_t shadow_t:file { relabelto };
libsepol.check_assertion_helper: assertion on line 0 violated by allow staff_t shadow_t:file { write create };
libsepol.check_assertion_helper: assertion on line 0 violated by allow initrc_t shadow_t:file { read };
libsepol.check_assertions: 5 assertion violations occured
libsemanage.semanage_expand_sandbox: Expand module failed
semodule: Failed!
All that's in there are things related to startup. And the errors aren't giving me any good clues.
