[F8] (Re)Starting httpd reveals php pdf.so stack permission errors...

Daniel B. Thurman dant at cdkkt.com
Tue Feb 19 15:02:49 UTC 2008


On Tue, 2008-02-19 at 06:52 -0800, Daniel J Walsh wrote:

> -----BEGIN PGP SIGNED MESSAGE----- 
> Hash: SHA1
> 
> Daniel B. Thurman wrote: 
> > On Mon, 2008-02-18 at 17:14 -0800, Todd Zullinger wrote: 
> > 
> >> Daniel B. Thurman wrote: 
> >>> Ok.... 
> >>> 
> >>> I tried: 
> >>> 
> >>> 1) grep execstack /var/log/audit/audit.log | audit2allow -m myphp 
> >>> 
> >>> module myphp 1.0; 
> >>> 
> >>> 2) semodule -i myphp.pp 
> >>> semodule:  Could not read file 'myphp.pp': No such file or 
> >> directory 
> >>> Seems that the myphp.pp file is never created, at least I cannot 
> >>> find it.... 
> >> You want -M instead of -m as the argument to audit2allow AFAIK. 
> >> 
> > 
> > 
> > ok... 3rd try: 
> > 
> > 1) grep execstack /var/log/audit/audit.log | audit2allow -M myphp 
> > compilation failed: 
> > (unknown source)::ERROR 'syntax error' at token '' on line 6: 
> > 
> > 
> > /usr/bin/checkmodule:  error(s) encountered while parsing
> configuration 
> > /usr/bin/checkmodule:  loading policy configuration from myphp.te 
> > 
> > 2) semodule -i myphp.pp 
> > semodule: Could not read file 'myphp.pp': No such file or directory 
> > 
> > 



> Sorry Daniel, it was probably my typing that caused the problem.
> Could 
> you attach the myphp.te file that audit2allow created?


OK, not much there but here is the attachment!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20080219/746c07e2/attachment.htm>
-------------- next part --------------

module myphp 1.0;





More information about the fedora-selinux-list mailing list