From 4c92f08f75bbb8657009aee6b188e545c851c683 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Thu, 30 Jul 2009 08:57:15 -0400 Subject: [PATCH] openrc unfortunately mounts a tmpfs at /lib/rc --- policy/modules/system/libraries.te | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/libraries.te b/policy/modules/system/libraries.te index 185a7d1f3..b395b28e8 100644 --- a/policy/modules/system/libraries.te +++ b/policy/modules/system/libraries.te @@ -1,5 +1,5 @@ -policy_module(libraries, 2.4.1) +policy_module(libraries, 2.4.2) ######################################## # @@ -42,6 +42,12 @@ files_type(lib_t) type textrel_shlib_t alias texrel_shlib_t; files_type(textrel_shlib_t) +ifdef(`distro_gentoo',` + # openrc unfortunately mounts a tmpfs + # at /lib/rc/ + files_mountpoint(lib_t) +') + optional_policy(` postgresql_loadable_module(lib_t) postgresql_loadable_module(textrel_shlib_t)