Chris PeBenito ab58ad
# lvm
Chris PeBenito ab58ad
/sbin/lvmiopversion	--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/etc/lvm(/.*)?			system_u:object_r:lvm_etc_t
Chris PeBenito ab58ad
/etc/lvm/\.cache	--	system_u:object_r:lvm_metadata_t
Chris PeBenito ab58ad
/etc/lvm/archive(/.*)?		system_u:object_r:lvm_metadata_t
Chris PeBenito ab58ad
/etc/lvm/backup(/.*)?		system_u:object_r:lvm_metadata_t
Chris PeBenito ab58ad
/etc/lvmtab(/.*)?		system_u:object_r:lvm_metadata_t
Chris PeBenito ab58ad
/etc/lvmtab\.d(/.*)?		system_u:object_r:lvm_metadata_t
Chris PeBenito ab58ad
# LVM creates lock files in /var before /var is mounted
Chris PeBenito ab58ad
# configure LVM to put lockfiles in /etc/lvm/lock instead
Chris PeBenito ab58ad
# for this policy to work (unless you have no separate /var)
Chris PeBenito ab58ad
/etc/lvm/lock(/.*)?		system_u:object_r:lvm_lock_t
Chris PeBenito ab58ad
/var/lock/lvm(/.*)?		system_u:object_r:lvm_lock_t
Chris PeBenito ab58ad
/dev/lvm		-c	system_u:object_r:fixed_disk_device_t
Chris PeBenito ab58ad
/dev/mapper/control	-c	system_u:object_r:lvm_control_t
Chris PeBenito ab58ad
/lib/lvm-10/.*		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/lib/lvm-200/.*		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/e2fsadm		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvchange		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvcreate		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvdisplay		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvextend		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvmchange		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvmdiskscan	--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvmsadc		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvmsar		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvreduce		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvremove		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvrename		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvscan		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/pvchange		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/pvcreate		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/pvdata		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/pvdisplay		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/pvmove		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/pvscan		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgcfgbackup	--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgcfgrestore	--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgchange		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgchange\.static	--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgck		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgcreate		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgdisplay		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgexport		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgextend		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgimport		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgmerge		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgmknodes		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgreduce		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgremove		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgrename		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgscan		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgscan\.static	--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgsplit		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgwrapper		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/cryptsetup	--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/dmsetup      --      system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/dmsetup\.static --    system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvm          --      system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvm\.static   --      system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/usr/sbin/lvm		--	system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvresize     --      system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/lvs          --      system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/pvremove     --      system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/pvs          --      system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/vgs          --      system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/sbin/multipathd   --      system_u:object_r:lvm_exec_t
Chris PeBenito ab58ad
/var/cache/multipathd(/.*)? system_u:object_r:lvm_metadata_t
Chris PeBenito ab58ad
/usr/sbin/clvmd   --      system_u:object_r:clvmd_exec_t