commit: 32eb57d914d8ae17c92eba384fec40f7ce2c3aad
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Jun 8 18:07:15 2014 +0000
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sun Jun 8 18:07:15 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=32eb57d9
Fix bug #511966 - clamav fails to start due to wrong label on /var/run/clamav
(thanks to Alexander Wetzel)
---
policy/modules/contrib/clamav.te | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/policy/modules/contrib/clamav.te b/policy/modules/contrib/clamav.te
index ce3836a..34e3f61 100644
--- a/policy/modules/contrib/clamav.te
+++ b/policy/modules/contrib/clamav.te
@@ -321,3 +321,7 @@ optional_policy(`
mta_send_mail(clamscan_t)
mta_read_queue(clamscan_t)
')
+
+ifdef(`distro_gentoo',`
+ init_daemon_run_dir(clamd_var_run_t, "clamav")
+')