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

Daniel J Walsh dwalsh at redhat.com
Tue Feb 19 14:52:54 UTC 2008


-----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
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
Sorry Daniel, it was probably my typing that caused the problem.  Could
you attach the myphp.te file that audit2allow created?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAke67UYACgkQrlYvE4MpobMzlwCeMplYAYlckgfU/1sD0zgRn+bg
WR8AoI8rNbvSSihROKB0INKmZv9p1laH
=pfEu
-----END PGP SIGNATURE-----




More information about the fedora-selinux-list mailing list