corecmd: Remove fcontext for /etc/sysconfig/libvirtd
PATCH 1/1 corecmd: Remove fcontext for /etc/sysconfig/libvirtd
/etc/sysconfig/libvirtd does not have the executable bit set, so it does not make sense for it to be labelled bin_t. I can't seem to find the reason it was set that way originally.
Signed-off-by Garrett Holmstrom <[email protected]>
--- policy/modules/kernel/corecommands.fc | 1 - 1 file changed, 1 deletion(-)
policy/modules/kernel/corecommands.fc +0 -1
@@ -105,7 +105,6 @@ ifdef(`distro_redhat',` /etc/sysconfig/crond -- gen_context(system_u:object_r:bin_t,s0) /etc/sysconfig/init -- gen_context(system_u:object_r:bin_t,s0) -/etc/sysconfig/libvirtd -- gen_context(system_u:object_r:bin_t,s0) /etc/sysconfig/netconsole -- gen_context(system_u:object_r:bin_t,s0) /etc/sysconfig/readonly-root -- gen_context(system_u:object_r:bin_t,s0)
Signature · 1 line
1.8.3.1
PATCH 1/1 corecmd: Remove fcontext for /etc/sysconfig/libvirtd
Quoted 14 lines · Garrett Holmstrom
/etc/sysconfig/libvirtddoes not have the executable bit set, so it does not make sense for it to be labelledbin_t. I can't seem to find the reason it was set that way originally.Signed-off-by Garrett Holmstrom <[email protected]>--- policy/modules/kernel/corecommands.fc | 1 - 1 file changed, 1 deletion(-)policy/modules/kernel/corecommands.fc +0
-0
policy/modules/kernel/corecommands.fc ifdef(`distro_redhat',` · line 109
Quoted 6 lines
policy/modules/kernel/corecommands.fc +0
-1@@ -105,7 +105,6 @@ ifdef(`distro_redhat',` /etc/sysconfig/crond -- gen_context(system_u:object_r:bin_t,s0) /etc/sysconfig/init -- gen_context(system_u:object_r:bin_t,s0) -/etc/sysconfig/libvirtd -- gen_context(system_u:object_r:bin_t,s0) /etc/sysconfig/netconsole -- gen_context(system_u:object_r:bin_t,s0) /etc/sysconfig/readonly-root -- gen_context(system_u:object_r:bin_t,s0)
Merged.
Signature · 1 line
Chris PeBenito