Written by: Martin Orr Allow lvm to create a directory in /var/lock Same as 674_lvm_lock except that the latter does not have a filetrans for directories. Index: policy/modules/system/lvm.te =================================================================== --- policy/modules/system/lvm.te.orig +++ policy/modules/system/lvm.te @@ -192,7 +192,8 @@ # Creating lock files manage_files_pattern(lvm_t, lvm_lock_t, lvm_lock_t) -files_lock_filetrans(lvm_t, lvm_lock_t, file) +manage_dirs_pattern(lvm_t, lvm_lock_t, lvm_lock_t) +files_lock_filetrans(lvm_t, lvm_lock_t, { file dir }) 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)