fix sshd to use initrc transition while typeattribute in conditionals is still broken

This commit is contained in:
Chris PeBenito 2005-09-09 20:49:59 +00:00
parent 9ff3003346
commit 0fdf3ef75e
1 changed files with 4 additions and 4 deletions

View File

@ -23,18 +23,18 @@ role system_r types ssh_keygen_t;
ssh_server_template(sshd) ssh_server_template(sshd)
optional_policy(`inetd.te',`
# cjp: commenting this out until typeattribute works in a conditional # cjp: commenting this out until typeattribute works in a conditional
#optional_policy(`inetd.te',`
# tunable_policy(`run_ssh_inetd',` # tunable_policy(`run_ssh_inetd',`
# inetd_tcp_service_domain(sshd_t,sshd_exec_t) # inetd_tcp_service_domain(sshd_t,sshd_exec_t)
# ',` # ',`
init_daemon_domain(sshd_t,sshd_exec_t) # init_daemon_domain(sshd_t,sshd_exec_t)
# ') # ')
',` #',`
# These rules should match the else block # These rules should match the else block
# of the run_ssh_inetd tunable directly above # of the run_ssh_inetd tunable directly above
init_daemon_domain(sshd_t,sshd_exec_t) init_daemon_domain(sshd_t,sshd_exec_t)
') #')
type sshd_exec_t; type sshd_exec_t;
files_type(sshd_exec_t) files_type(sshd_exec_t)