-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Description
Commit ca3698d changed the definition of the unconfined_r role from the base module kernel to the non-base module unconfined.
While directly linking the policy via make validate works, loading such policy on an actual systems fails with the following error message:
...
Creating refpolicy base module base.conf
Compiling refpolicy base module
Creating refpolicy base module package
Installing refpolicy base.pp policy package.
Loading configured modules.
Failed to resolve roletype statement at /var/lib/selinux/refpolicy/tmp/modules/400/unconfined/cil:5
Failed to resolve AST
/usr/sbin/semodule: Failed!
make: *** [Rules.modular:59: load] Error 1
I don't think role definitions are supported in non-base modular policies (only role statements associating them to types).
Metadata
Metadata
Assignees
Labels
No labels