mod_mono: /var/run access denied

Dario Lesca d.lesca at solinos.it
Fri Nov 21 15:31:51 UTC 2008


Hi Paul,

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

> * Sat Oct 11 2008 Paul F. Johnson <paul at 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:
https://bugzilla.redhat.com/show_bug.cgi?id=472529

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

Many Thanks

Best Regards 

-- 
Dario Lesca <d.lesca at solinos.it>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod_mono-2.0-7.tar.gz
Type: application/x-compressed-tar
Size: 1906 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20081121/0927add8/attachment.bin>


More information about the fedora-devel-list mailing list