Making httpd work with trac and svn

Daniel J Walsh dwalsh at redhat.com
Tue Dec 13 04:44:01 UTC 2005


Robin Bowes wrote:
> Hi,
>
> I'm using httpd, trac, and svn on FC4 with svnmailer providing svn
> commit notifications.
>
> I've found I have to add the following local policies to allow this
> combination to work:
>
> # Needed to allow httpd to send ticket notifications via
> # direct connection to smtp port as httpd user
> allow httpd_t smtp_port_t:tcp_socket name_connect;
>   

> # Needed to allow svnmailer to execute and send commit notifications
> # using sendmail as httpd user
> allow httpd_t trac_var_t:file execute;
> allow httpd_t trac_var_t:file execute_no_trans;
>   
What is trac_var_t?
> allow restorecon_t devpts_t:chr_file getattr;
> allow httpd_t sbin_t:lnk_file read;
>
> Is there a better way to do this, i.e. without adding these missing TEs?
>
> R.
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
>   


-- 





More information about the fedora-selinux-list mailing list