fedora-selinux February 2008 archive
Main Archive Page > Month Archives  > fedora-selinux archives
fedora-selinux: Re: [F8] (Re)Starting httpd reveals php pdf.so s

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

From: Daniel B. Thurman <dant_at_nospam>
Date: Tue Feb 19 2008 - 15:02:49 GMT
To: Daniel J Walsh <dwalsh@redhat.com>

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!

-- fedora-selinux-list mailing list fedora-selinux-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-selinux-list