From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 486EB1387FD for ; Sun, 8 Jun 2014 18:08:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 098D9E096C; Sun, 8 Jun 2014 18:08:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C2CCE096C for ; Sun, 8 Jun 2014 18:08:05 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 570BB340044 for ; Sun, 8 Jun 2014 18:08:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 86263181A9 for ; Sun, 8 Jun 2014 18:08:01 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1402250835.32eb57d914d8ae17c92eba384fec40f7ce2c3aad.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/clamav.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 32eb57d914d8ae17c92eba384fec40f7ce2c3aad X-VCS-Branch: master Date: Sun, 8 Jun 2014 18:08:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cbd8a48e-c162-434e-9af1-a07de7d3c4da X-Archives-Hash: 81069eeb16ec80377c625691cef0d93e commit: 32eb57d914d8ae17c92eba384fec40f7ce2c3aad Author: Sven Vermeulen siphos be> AuthorDate: Sun Jun 8 18:07:15 2014 +0000 Commit: Sven Vermeulen gentoo 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") +')