portage: Transition to ldconfig_t when calling ldconfig
PATCH 1/1 portage: Transition to ldconfig_t when calling ldconfig
portage_t used to have all neccessary permissions to run ldconfig in its own domain, but ldconfig now needs map access to its cache, so it's either this or allowing portage_t to map ldconfig_cache_t.
--- portage.te | 2 ++ 1 file changed, 2 insertions(+)
portage.te +2 -0
@@ -194,6 +194,8 @@ auth_manage_shadow(portage_t) # merging baselayout will need this: init_exec(portage_t) +libs_run_ldconfig(portage_t, portage_roles) + miscfiles_read_localization(portage_t) # run setfiles -r
Signature · 1 line
2.14.1
PATCH 1/1 portage: Transition to ldconfig_t when calling ldconfig
Quoted 12 lines · Luis Ressel via refpolicy
portage_tused to have all neccessary permissions to run ldconfig in its own domain, but ldconfig now needs map access to its cache, so it's either this or allowingportage_tto mapldconfig_cache_t.--- portage.te | 2 ++ 1 file changed, 2 insertions(+)portage.te +0
-0
portage.te auth_manage_shadow(portage_t) · line 198
Quoted 5 lines
portage.te +2
-0@@ -194,6 +194,8 @@ auth_manage_shadow(portage_t) # merging baselayout will need this: init_exec(portage_t) +libs_run_ldconfig(portage_t, portage_roles) +
Merged.
Signature · 1 line
Chris PeBenito