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 CADE5138A1F for ; Fri, 11 Apr 2014 17:49:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C027E0AA3; Fri, 11 Apr 2014 17:48:58 +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 7F4C4E0A98 for ; Fri, 11 Apr 2014 17:48:57 +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 AB47F3401AB for ; Fri, 11 Apr 2014 17:48:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 21D05188D0 for ; Fri, 11 Apr 2014 17:48:54 +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: <1397238482.1d9cedc615b9f486cba8290781abfa238b3133fc.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/miscfiles.fc X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 1d9cedc615b9f486cba8290781abfa238b3133fc X-VCS-Branch: master Date: Fri, 11 Apr 2014 17:48:54 +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: ec144431-b80c-47c2-8466-15492140f570 X-Archives-Hash: 54d7754774d2976df66760602fe6990f commit: 1d9cedc615b9f486cba8290781abfa238b3133fc Author: Laurent Bigonville bigon be> AuthorDate: Sat Apr 5 18:01:22 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Apr 11 17:48:02 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=1d9cedc6 Properly label the manpages installed by postgresql The postgresql manpages are installed under a private directory, some of them are symlinked to the usual location. Properly labeling them ensure that mandb can read them. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740591 --- policy/modules/system/miscfiles.fc | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/miscfiles.fc b/policy/modules/system/miscfiles.fc index a5337b6..8b48030 100644 --- a/policy/modules/system/miscfiles.fc +++ b/policy/modules/system/miscfiles.fc @@ -52,6 +52,7 @@ ifdef(`distro_redhat',` /usr/share/ghostscript/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0) /usr/share/locale(/.*)? gen_context(system_u:object_r:locale_t,s0) /usr/share/man(/.*)? gen_context(system_u:object_r:man_t,s0) +/usr/share/postgresql/[^/]*/man(/.*)? gen_context(system_u:object_r:man_t,s0) /usr/share/X11/locale(/.*)? gen_context(system_u:object_r:locale_t,s0) /usr/share/zoneinfo(/.*)? gen_context(system_u:object_r:locale_t,s0)