Chris PeBenito 57f233
# backup
Chris PeBenito 57f233
# label programs that do backups to other files on disk (IE a cron job that
Chris PeBenito 57f233
# calls tar) in backup_exec_t and label the directory for storing them as
Chris PeBenito 57f233
# backup_store_t, Debian uses /var/backups
Chris PeBenito 57f233
Chris PeBenito bf2f29
#/usr/local/bin/backup-script	--	gen_context(system_u:object_r:backup_exec_t,s0)
Chris PeBenito 45b56b
Chris PeBenito 45b56b
ifdef(`distro_debian',`
Chris PeBenito 45b56b
/etc/cron.daily/aptitude	--	gen_context(system_u:object_r:backup_exec_t,s0)
Chris PeBenito 45b56b
/etc/cron.daily/standard	--	gen_context(system_u:object_r:backup_exec_t,s0)
Chris PeBenito 45b56b
')
Chris PeBenito 45b56b
Chris PeBenito bf2f29
/var/backups(/.*)?			gen_context(system_u:object_r:backup_store_t,s0)