Selinux interfering with vboxwebsrv or phpvirtualbox
Posted
by
Mike W
on Server Fault
See other posts from Server Fault
or by Mike W
Published on 2013-06-26T23:16:09Z
Indexed on
2013/06/29
16:23 UTC
Read the original article
Hit count: 566
I have a brand new installation of Fedora 18, with a brand new installation of Virtualbox 4.2. I have spent a painful few hours trying to get phpVirtualBox working. Apache 2.4 and PHP 5.4 are installed, along with the phpVirtualBox software. Attempting to access phpVirtualBox allowed me to login, but then I'd have a prolonged wait until an 'Error fetching HTTP headers' message appeared.
Finally, I set SeLinux to permissive, and Bingo! things start to work. For some reason the SeLinux Troubleshooter isn't flagging any messages from SeLinux, I don't know what to look for now.
This is a development box so I could leave SeLinux set to permissive but I will need to make this work in anger on the next project.
My question, then, is this: What changes to SeLinux policies do I need to make to allow phpVirtualBox and vboxwebsrv to work together?
If there's more information I can post that will assist I'll gladly post it - just let me know what it is.
© Server Fault or respective owner