diff --git a/policy/modules/system/lvm.te b/policy/modules/system/lvm.te index f8eeecd9d..a712d850e 100644 --- a/policy/modules/system/lvm.te +++ b/policy/modules/system/lvm.te @@ -192,7 +192,9 @@ can_exec(lvm_t, lvm_exec_t) # Creating lock files manage_files_pattern(lvm_t, lvm_lock_t, lvm_lock_t) +create_dirs_pattern(lvm_t, lvm_lock_t, lvm_lock_t) files_lock_filetrans(lvm_t, lvm_lock_t, file) +files_lock_filetrans(lvm_t, lvm_lock_t, dir, "lvm") manage_dirs_pattern(lvm_t, lvm_var_lib_t, lvm_var_lib_t) manage_files_pattern(lvm_t, lvm_var_lib_t, lvm_var_lib_t)