> +##
> +## Allow the Erlang Port mapper to coordinate all nodes in
> distributed
> +## computing. It also wants to run on single nodes so any daemon
> written in
> +## Erlang will need it.
> +##
> +##
> +
> +type epmd_t;
> +type epmd_exec_t;
> +init_daemon_domain(epmd_t,epmd_exec_t)
> +role system_r types epmd_t;
> +
> +########################################
> +#
> +# epmd local policy
> +#
> +
> +allow epmd_t self:tcp_socket create_stream_socket_perms;
> +#allow epmd_t self:udp_socket create_socket_perms;
> +
> +corenet_all_recvfrom_unlabeled(epmd_t)
> +corenet_all_recvfrom_netlabel(epmd_t)
> +corenet_tcp_bind_epmd_port(epmd_t)
> +corenet_tcp_sendrecv_all_if(epmd_t)
> +#corenet_udp_sendrecv_all_if(epmd_t)
> +corenet_tcp_sendrecv_all_nodes(epmd_t)
> +#corenet_udp_sendrecv_all_nodes(epmd_t)
> +corenet_tcp_sendrecv_all_ports(epmd_t)
> +#corenet_udp_sendrecv_all_ports(epmd_t)
> +corenet_tcp_bind_all_nodes(epmd_t)
> +#corenet_udp_bind_all_nodes(epmd_t)
> +#corenet_tcp_connect_all_ports(epmd_t)
> +#corenet_udp_bind_all_unreserved_ports(epmd_t)
> +
> +files_read_etc_files(epmd_t)
> +
> +libs_use_ld_so(epmd_t)
> +libs_use_shared_libs(epmd_t)
> +
> +logging_send_syslog_msg(epmd_t)
> +
> +miscfiles_read_localization(epmd_t)
> +
> diff --git a/policy/modules/services/jabber.te
> b/policy/modules/services/jabber.te
> index cec9c76..d5d9ef5 100644
> --- a/policy/modules/services/jabber.te
> +++ b/policy/modules/services/jabber.te
> @@ -83,6 +87,10 @@ userdom_dontaudit_use_unpriv_user_fds(jabberd_t)
> userdom_dontaudit_search_user_home_dirs(jabberd_t)
>
> optional_policy(`
> + run_epmd(jabberd_t, system_r)
> +')
> +
> +optional_policy(`
> nis_use_ypbind(jabberd_t)
> ')
>
>
>
> --
> This is the tomorrow you worried about yesterday. And now you know
> why.
> Manoj Srivastava