PDA

View Full Version : mooshak + selinux



sanjay_ankur
21st June 2009, 06:27 AM
hi all,

I've come across Mooshak http://mooshak.dcc.fc.up.pt/~zp/mooshak/ as a software to hold online coding competitions.

Under the install requirements, they've asked me to disable SELinux. I do not wish to disable SELinux. However, using restorecon etc to relabel the files correctly isn't working. The installation fails with this message :



[root@Ankur mooshak-1.4.3]# ./install
Prerequisites Ok. Installing Mooshak on fedora, Apache 2.2
Changing password for user mooshak.
passwd: all authentication tokens updated successfully.
data.tgz copied
source.tgz copied
Setting file permissions ... done
connecting to host Ankur.PC ... connected!
could not find user name in the output of 'info'


I finally gave up and set SELinux to permissive etc. The installation works now.

I want to know how I can carry out the installation without disabling SELinux.

I have attached one of the SELinux messages.

regards,

Ankur