Allow Gentoo rc-update to manage runlevels, try 2
PATCH 2/2 Allow Gentoo rc-update to manage runlevels, try 2
From: Chris Richards <[email protected]>
rc-update cannot properly update the system runlevels, even when run as the root user in sysadm role.
Signed-off-by Chris Richards <[email protected]>
--- policy/modules/system/selinuxutil.te | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
policy/modules/system/selinuxutil.te +4 -0
@@ -405,6 +405,10 @@ ifndef(`direct_sysadm_daemon',` ') ') +ifdef(`distro_gentoo',` + init_manage_script_runlevel_files(run_init_t) +') + ifdef(`distro_ubuntu',` optional_policy(` unconfined_domain(run_init_t)
Signature · 1 line
1.7.3.2
PATCH 2/2 Allow Gentoo rc-update to manage runlevels, try 2
Quoted 4 lines · gizmo at giz-works.com
From: Chris Richards <[email protected]>
rc-update cannot properly update the system runlevels, even when run as the root user in sysadm role.
rc-update should not be running in run_init_t.
Quoted 20 lines
Signed-off-by Chris Richards <[email protected]>--- policy/modules/system/selinuxutil.te | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)policy/modules/system/selinuxutil.te +4
-0@@ -405,6 +405,10 @@ ifndef(`direct_sysadm_daemon',` ') ') +ifdef(`distro_gentoo',` + init_manage_script_runlevel_files(run_init_t) +') + ifdef(`distro_ubuntu',` optional_policy(` unconfined_domain(run_init_t)
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com