[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

mod_mono: /var/run access denied

Hi Paul,

I have just discover a bug using the last version of mod_mono

> * Sat Oct 11 2008 Paul F. Johnson <paul all-the-johnsons co uk> 2.0-6
> - use var run instead of tmp
> - added additional Requires

On my system (f10 and f9) the folder /var/run is not accessible in write
mode for user apache then when apache loads the mod_mono module I've got
this error:

> [Fri Nov 21 16:02:11 2008] [crit] (13)Permission denied: Failed to
> create shared memory segment for backend 'XXGLOBAL' at
> '/var/run/mod_mono_dashboard_XXGLOBAL_1'.

then the module is not loaded.

If I "chmod 777 /var/run" the module is loaded and all works fine, but I
do not want to "chmod 777 /var/run"!!

I have tried to set some module variables like these
    MonoWapiDir "/tmp"
    MonoUnixSocket "/tmp/monosochek"
but the DASHBOARD_FILE is not a changeable value. 

Then i have produce a little patch to these 2 files:
 - SPECS/mod_mono.spec
 - SOURCES/mod_mono-2.0-varrun.patch
(see attach)

I have also fill this bug into bugzilla:

Take care of this patch, please evaluate it and eventually release it.

Many Thanks

Best Regards 

Dario Lesca <d lesca solinos it>

Attachment: mod_mono-2.0-7.tar.gz
Description: application/compressed-tar

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]