Page 1 of 1

FYI: Must disable SELinux for proper Xataface installation

PostPosted: Mon Nov 08, 2010 10:56 am
by goxatago
Hello,

Just run into this and I figured it may be of use to someone someday.

I tried to move a xataface app on a brand new Fedora 14 machine, but xataface kept telling me that the templates_c directory was not writable by the webserver, although I had made sure that it was. I even changed mode to 777, but kept getting the same error in the httpd error log file.

I then created a templates_c in the app directory, but still it did not work.

Finally, I had to disable the Security Encanced Linux setting in /etc/sysconfig/selinux and afterwards everything works as advertised.
From my limited experience the Selinux feature is usually disabled for most web apps and you need to setup special policies in order to take advantage of it.

Does anybody know a way around it, that is to leave it enabled and allow xataface to work properly ?

Thank you,

S.

Re: FYI: Must disable SELinux for proper Xataface installation

PostPosted: Mon Nov 08, 2010 11:11 am
by shannah
I've only faced off against SELinux once. I don't recall the sequence of events, but after overcoming a number of problems with workarounds, there was always some other problem around the corner... so I just disabled SELinux.

Re: FYI: Must disable SELinux for proper Xataface installation

PostPosted: Mon Nov 08, 2010 11:23 am
by shannah
I have only gone up against SELinux once. I recall just disabling it in the end because I didn't have enough time to find a more fine-grained solution at the time.

Re: FYI: Must disable SELinux for proper Xataface installation

PostPosted: Tue Nov 09, 2010 12:12 am
by goxatago
Hi Steve,

I agree. Perhaps it should be added to the installation instructions.

S.