policy/modules/services/cvs.te: make inetd optional

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This commit is contained in:
Fabrice Fontaine 2021-08-06 16:33:36 +02:00
parent b09c03f7dd
commit db73b1dd90

View File

@ -15,7 +15,6 @@ gen_tunable(allow_cvs_read_shadow, false)
type cvs_t;
type cvs_exec_t;
inetd_tcp_service_domain(cvs_t, cvs_exec_t)
init_daemon_domain(cvs_t, cvs_exec_t)
application_executable_file(cvs_exec_t)
@ -98,6 +97,10 @@ tunable_policy(`allow_cvs_read_shadow',`
auth_tunable_read_shadow(cvs_t)
')
optional_policy(`
inetd_tcp_service_domain(cvs_t, cvs_exec_t)
')
optional_policy(`
kerberos_read_config(cvs_t)
kerberos_read_keytab(cvs_t)