commit: 1d9cedc615b9f486cba8290781abfa238b3133fc Author: Laurent Bigonville <bigon <AT> bigon <DOT> be> AuthorDate: Sat Apr 5 18:01:22 2014 +0000 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> 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)
