All of lore.kernel.org
 help / color / mirror / Atom feed
* Apache and PHP
@ 2007-06-02 13:44 Stefan Schulze Frielinghaus
  2007-06-03 14:56 ` Stefan Schulze Frielinghaus
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Schulze Frielinghaus @ 2007-06-02 13:44 UTC (permalink / raw)
  To: SELinux List

Hello everyone,

I try to create a policy for a Wiki system:

dokuwiki.te:

policy_module(dokuwiki, 1.0.0)

gen_require(`
         type httpd_t;
')

apache_content_template(dokuwiki)

I labeled the files correctly and enabled the apache_enable_cgi  
boolean, but I still get some AVC errors:

# dmesg -c | audit2allow
allow httpd_t httpd_dokuwiki_content_t:dir { getattr read search };
allow httpd_t httpd_dokuwiki_content_t:file { getattr read };
allow httpd_t httpd_dokuwiki_script_rw_t:dir { getattr search write };
allow httpd_t httpd_dokuwiki_script_rw_t:file { getattr read write };

It seems to me that the apache daemon does no type transition from  
httpd_t to httpd_dokuwiki_script_t. I thought that if I use the  
apache_content_template that a new type is created (along some others  
too) and that I can use this as an entrypoint. Do I have to enable  
something else so that a type transition will occure?

Best regards,
Stefan

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-04 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-02 13:44 Apache and PHP Stefan Schulze Frielinghaus
2007-06-03 14:56 ` Stefan Schulze Frielinghaus
2007-06-04 13:17   ` Stephen Smalley
2007-06-04 14:28     ` Joshua Brindle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.