Can I get clarification on why question was migrated?
Seems very specifically a SF type question to me.
Can I get clarification on why question was migrated?
Seems very specifically a SF type question to me.
I meant to answer your question in chat the other day but I got busy and forgot.
To me your question looked no different to any number of similar questions we get from developers about their environments all the time. Rather than installing from a package (which is available) a choice was made to install from source, this is nearly always against best practice and leads to problems (as you found).
You mentioned that you were using CentOS but didn't mention which version (there are currently 3 supported releases) I would expect someone within our target community to know that the version was important and provide the relevant information.
Your question looked like it was from someone outside our target audience so I voted to close it and send it to Super User which is a better place for such questions.
By the way your solution is at best temporary, a restorecon will undo the chcon, you should look to semanage for a permanent fix.
restorecon
get called automatically, or does it require manual execution?