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