On 04/10/2013 10:35 AM, Remi Collet wrote:
...
/var/www/moodle(/.*)? gen_context(system_u:object_r:httpd_sys_rw_content_t,s0)
Why this ? Does we really need to allow apache to "write" the moodle web pages ?
Yes, we do - during the *configuration* of moodle
either using the web route, which is broken in F18 :(
or running some php configuration scripts from the command line as the apache user. This is the recommended way according to the official moodle docs.
BUT which scripts in which sequence? - that was my original question.
Le 11/04/2013 10:45, Virágh János a écrit :
Does we really need to allow apache to "write" the moodle web pages ?
Yes, we do - during the *configuration* of moodle
No, configuration should be in /etc/moodle, not within the static content.
Please read FHS.
So my current recommendation for this package : don't use it, as it doesn't conform to guidelines / FHS, and have no additional value from the upstream tarball.
Remi