minor logwatch avc denial fix
Saw this avc message in dmesg:
audit(1080814317.301:0): avc: denied { getattr } for pid=1874 exe=/bin/df name=/ dev= ino=2025 scontext=system_u:system_r:system_crond_t tcontext=system_u:object_r:rpc_pipefs_t tclass=filesystem
Looks like this came from /etc/cron.d/00-logwatch. This patch should fix it.
macros/program/crond_macros.te renamed from macros/program/crond_macros.te~ +1 -1
@@ -78,7 +78,7 @@ allow $1_crond_t { sysctl_t sysctl_kernel_t }:dir search; allow $1_crond_t sysctl_kernel_t:file { getattr read }; allow $1_crond_t var_spool_t:dir search; -allow $1_crond_t fs_t:filesystem getattr; +allow $1_crond_t fs_type:filesystem getattr; allow $1_crond_t { initrc_devpts_t devtty_t}:chr_file { read write }; allow $1_crond_t var_t:dir { getattr search };