FYI: Must disable SELinux for proper Xataface installation

A place for users and developers of the Xataface to discuss and receive support.

FYI: Must disable SELinux for proper Xataface installation

Postby goxatago » Mon Nov 08, 2010 10:56 am

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.
goxatago
 
Posts: 14
Joined: Fri Jul 09, 2010 2:08 am

Re: FYI: Must disable SELinux for proper Xataface installation

Postby shannah » Mon Nov 08, 2010 11:11 am

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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: FYI: Must disable SELinux for proper Xataface installation

Postby shannah » Mon Nov 08, 2010 11:23 am

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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: FYI: Must disable SELinux for proper Xataface installation

Postby goxatago » Tue Nov 09, 2010 12:12 am

Hi Steve,

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

S.
goxatago
 
Posts: 14
Joined: Fri Jul 09, 2010 2:08 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 17 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved