aboutsummaryrefslogtreecommitdiff
blob: 552de9cbebe6467038e8fb2e8c1fdf837cc36623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/etc/cron\.d(/.*)?	gen_context(system_u:object_r:system_cron_spool_t,s0)
/etc/crontab	--	gen_context(system_u:object_r:system_cron_spool_t,s0)

/usr/bin/(f)?crontab	--	gen_context(system_u:object_r:crontab_exec_t,s0)

/usr/sbin/anacron	--	gen_context(system_u:object_r:anacron_exec_t,s0)
/usr/sbin/cron(d)?	--	gen_context(system_u:object_r:crond_exec_t,s0)
/usr/sbin/fcron	--	gen_context(system_u:object_r:crond_exec_t,s0)
/usr/sbin/fcronsighup	--	gen_context(system_u:object_r:crontab_exec_t,s0)

/var/lib/glpi/files(/.*)?	gen_context(system_u:object_r:cron_var_lib_t,s0)

/var/log/cron.*	gen_context(system_u:object_r:cron_log_t,s0)
/var/log/rpmpkgs.*	--	gen_context(system_u:object_r:cron_log_t,s0)

/var/run/anacron\.pid	--	gen_context(system_u:object_r:crond_var_run_t,s0)
/var/run/crond?\.pid	--	gen_context(system_u:object_r:crond_var_run_t,s0)
/var/run/crond?\.reboot	--	gen_context(system_u:object_r:crond_var_run_t,s0)
/var/run/fcron\.fifo	-s	gen_context(system_u:object_r:crond_var_run_t,s0)
/var/run/fcron\.pid	--	gen_context(system_u:object_r:crond_var_run_t,s0)
/var/run/.*cron.*	--	gen_context(system_u:object_r:crond_var_run_t,s0)

/var/spool/anacron(/.*)?	gen_context(system_u:object_r:system_cron_spool_t,s0)

/var/spool/cron	-d	gen_context(system_u:object_r:cron_spool_t,s0)
#/var/spool/cron/root	--	gen_context(system_u:object_r:sysadm_cron_spool_t,s0)
/var/spool/cron/[^/]*	--	<<none>>

/var/spool/cron/crontabs	-d	gen_context(system_u:object_r:cron_spool_t,s0)
/var/spool/cron/crontabs/.*	--	<<none>>
#/var/spool/cron/crontabs/root	--	gen_context(system_u:object_r:sysadm_cron_spool_t,s0)

/var/spool/fcron	-d	gen_context(system_u:object_r:cron_spool_t,s0)
/var/spool/fcron/.*	<<none>>
/var/spool/fcron/systab\.orig	--	gen_context(system_u:object_r:system_cron_spool_t,s0)
/var/spool/fcron/systab	--	gen_context(system_u:object_r:system_cron_spool_t,s0)
/var/spool/fcron/new\.systab	--	gen_context(system_u:object_r:system_cron_spool_t,s0)

ifdef(`distro_debian',`
/var/spool/cron/atjobs	-d	gen_context(system_u:object_r:cron_spool_t,s0)
/var/spool/cron/atjobs/[^/]*	--	<<none>>
/var/spool/cron/atspool	-d	gen_context(system_u:object_r:cron_spool_t,s0)
')

ifdef(`distro_gentoo',`
/var/spool/cron/lastrun	-d	gen_context(system_u:object_r:crond_tmp_t,s0)
/var/spool/cron/lastrun/[^/]*	--	<<none>>
')

ifdef(`distro_suse',`
/var/spool/cron/lastrun	-d	gen_context(system_u:object_r:crond_tmp_t,s0)
/var/spool/cron/lastrun/[^/]*	--	<<none>>
/var/spool/cron/tabs	-d	gen_context(system_u:object_r:cron_spool_t,s0)
')