Chris PeBenito 6f3dab
Chris PeBenito e02c61
/bin/rpm 			--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito e02c61
/usr/bin/apt-get 		--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/usr/bin/apt-shell   	 	-- 	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/usr/bin/synaptic		--    	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/usr/bin/yum 			--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito e02c61
/usr/lib(64)?/rpm/rpmd		-- 	gen_context(system_u:object_r:bin_t,s0)
Chris PeBenito e02c61
/usr/lib(64)?/rpm/rpmq		-- 	gen_context(system_u:object_r:bin_t,s0)
Chris PeBenito e02c61
/usr/lib(64)?/rpm/rpmk		-- 	gen_context(system_u:object_r:bin_t,s0)
Chris PeBenito e02c61
/usr/lib(64)?/rpm/rpmv		-- 	gen_context(system_u:object_r:bin_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito 6f3dab
ifdef(`distro_redhat', `
Chris PeBenito e02c61
/usr/sbin/up2date		--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/usr/sbin/rhn_check		--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito 6f3dab
')
Chris PeBenito 6f3dab
Chris PeBenito e02c61
/var/lib/alternatives(/.*)?		gen_context(system_u:object_r:rpm_var_lib_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito e02c61
/var/lib/rpm(/.*)?			gen_context(system_u:object_r:rpm_var_lib_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito e02c61
/var/log/rpmpkgs.*		--	gen_context(system_u:object_r:rpm_log_t,s0)
Chris PeBenito e02c61
/var/log/yum\.log		--	gen_context(system_u:object_r:rpm_log_t,s0)
Chris PeBenito 6f3dab
Chris PeBenito 6f3dab
# SuSE
Chris PeBenito 6f3dab
ifdef(`distro_suse', `
Chris PeBenito e02c61
/usr/bin/online_update		--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/sbin/yast2			--	gen_context(system_u:object_r:rpm_exec_t,s0)
Chris PeBenito e02c61
/var/lib/YaST2(/.*)?			gen_context(system_u:object_r:rpm_var_lib_t,s0)
Chris PeBenito e02c61
/var/log/YaST2(/.*)?			gen_context(system_u:object_r:rpm_log_t,s0)
Chris PeBenito 6f3dab
')