diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc index 0c0dfda..2e31156 100644 --- a/policy/modules/system/init.fc +++ b/policy/modules/system/init.fc @@ -11,6 +11,7 @@ ifdef(`distro_gentoo',` /etc/vmware/init\.d/vmware -- gen_context(system_u:object_r:initrc_exec_t,s0) +/etc/x11/startDM.sh -- gen_context(system_u:object_r:initrc_exec_t,s0) ') ifdef(`strict_policy',` diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te index d07f35a..989ffce 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te @@ -1,5 +1,5 @@ -policy_module(init,1.4.1) +policy_module(init,1.4.2) gen_require(` class passwd rootok; diff --git a/policy/modules/system/lvm.fc b/policy/modules/system/lvm.fc index 86feb56..a70e326 100644 --- a/policy/modules/system/lvm.fc +++ b/policy/modules/system/lvm.fc @@ -4,6 +4,13 @@ # for this policy to work (unless you have no separate /var) # +# /bin +# +ifdef(`distro_gentoo',` +/bin/cryptsetup -- gen_context(system_u:object_r:lvm_exec_t,s0) +') + +# # /etc # /etc/lvm(/.*)? gen_context(system_u:object_r:lvm_etc_t,s0) diff --git a/policy/modules/system/lvm.te b/policy/modules/system/lvm.te index 4070bf1..512955c 100644 --- a/policy/modules/system/lvm.te +++ b/policy/modules/system/lvm.te @@ -1,5 +1,5 @@ -policy_module(lvm,1.4.0) +policy_module(lvm,1.4.1) ######################################## #