I apologize for initially posting this in the wrong form. I'll start off by saying that I'm NOT a linux guru by any stretch of the imagination.
That said, I setup a dedicated server running Fedora release 7. I wanted to use it as web and mail server. I had setup Apache, MySQL, etc before using yum, and did the same here.
I also wanted to set it up as my own mail server. So, I followed the tutorial here:
Even though the tutorial if for version 8, it worked great for 7.
Anyway, I neglected to read the part about disabling SELinux before following it. I had done it before, but I forgot I didn't install SELinux when I installed the software. My web host did.
Here's my problem. Everything is working, but I cannot install the Zend Optimizer 3.3.0a on the server. It installs, but when I go to restart Apache, I get errors, and the page(s) won't load. Here was my initial error:
Mar 28 10:20:24 serverxxx setroubleshoot:
SELinux is preventing /usr/sbin/httpd from loading /usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so which requires text relocation.
For complete SELinux messages. run sealert -l bc080e98-280b-45cd-9b53-aadcc039bbbe
So I ran the command, and it says to do:
chcon -t textrel_shlib_t /usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so
I did that and restarted, and I get another error. So I ran the sealert it mentions and I get the following:
You can generate a local policy module to allow this access - see
http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385 Or you can disable
SELinux protection altogether. Disabling SELinux protection is not
recommended. Please file a http://bugzilla.redhat.com/bugzilla/enter_bug.cgi
against this package.
So now I don't know what to do. I've never (obviously) dealt with SELinux much, so I've never created a policy.
ANY guidance in this situation would be extremely helpful.