|
From: Peter S. <pet...@ta...> - 2008-01-15 23:21:44
|
Paul Lesniewski wrote:
> On Jan 15, 2008 2:22 PM, Jeremy van Doorn <je...@ca...> wrote:
>
>>>> I checked the logfiles and found that SElinux is causing my issues.
>>>> I'm anything but an expert on SElinux, so I'm hoping that maybe
>>>> you can help me fix the issues that SElinux is causing.
>>>>
>>>> When I switch SElinux off, everything works fine, but with SElinux on, I
>>>>
>> get
>>
>>>> the following message in /var/log/messages:
>>>> Jan 15 22:24:36 kernel: audit(1200432276.579:179): avc: denied { read
>>>>
>> }
>>
>>>> for pid=30164 comm="httpd" name="mailbox_display.php" dev=sda1
>>>>
>> ino=2424919
>>
>>>> scontext=root:system_r:httpd_t:s0 tcontext=root:object_r:tmp_t:s0
>>>> tclass=file
>>>>
>>>> In my httpd_error log, I get the following error:
>>>> [Tue Jan 15 22:26:36 2008] [error] [client 84.245.21.115] PHP Fatal
>>>>
>> error:
>>
>>>> Call to undefined function get_current_hook_name() in
>>>> /usr/share/squirrelmail/plugins/spam_buttons/functions.php on line 540
>>>>
>>> Read the plugin description page on the website or the README file.
>>> You missed the plugin requirements (Compatibility plugin). PLEASE
>>> read all docs before asking for help. If you had run
>>> src/configtest.php, it also would have told you what the problem
>>> was....
>>>
>> I did read the description page and followed the INSTALL files for both
>> plugins to the letter. I have installed spam_buttons-2.0-1.4.0.tar.gz and
>> compatibility-2.0.9-1.0.tar.gz. I have also run configtest.php, which tells
>> me everything is fine as long as SElinux is turned off (Congratulations,
>> your SquirrelMail setup looks fine to me!). When I turn SElinux on, I get
>> blank pages from anything in Squirrelmail (which is not the case when the
>> plugins are uninstalled).
>>
>
> The PHP error you showed indicates that the compatibility plugin was
> not patched in or was not included by the SM core. If SELinux was
> what prevented that action, your SELinux is way too aggressive.
Exactly, these were my blank pages problems I've reported during
Sept./Oct. 2005 ("Re: [SM-PLUGINS] multilogin + compatibility" emails).
I could not find any understandable errors in logs and was not aware of
whether or how to switch SELinux off.
Only installing the OS again a year later with SELinux switched off
cured the problem.
Peer Slacik
> This is not a SELinux forum.
>
>
>> The error messages that SElinux gives me are the following:
>> Jan 15 23:20:52 kernel: audit(1200435652.249:217): avc: denied { getattr }
>> for pid=7318 comm="httpd"
>> path="/usr/share/squirrelmail/functions/strings.php" dev=sda1 ino=2424935
>> scontext=root:system_r:httpd_t:s0 tcontext=root:object_r:tmp_t:s0
>> tclass=file
>> Jan 15 23:20:52 kernel: audit(1200435652.251:218): avc: denied { read }
>> for pid=7318 comm="httpd" name="strings.php" dev=sda1 ino=2424935
>> scontext=root:system_r:httpd_t:s0 tcontext=root:object_r:tmp_t:s0
>> tclass=file
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> -----
> squirrelmail-plugins mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squ...@li...
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
> List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
>
|