erikogan/passenger — pull request #21 by darrell (2011-12-21 18:35:52+00:00)
Title: Here's a few more changes for the SELinux support on CentOS.

I've tested these on CentOS 5/6. I was still getting lots of unnecessary log entries, which this seems to have taken care of.

I ended up moving PassengerTempDir into /var/run/rubygem-passenger, because I was getting lots of incompatible behavior from the system installed policy. Specifically, /var/run/passenger was defined as type passenger_t, and I could not convince the system to let me override that, so I just quit fighting it and moved it. I haven't found any other conflicts with the selinux-policy defined passenger config.

I suspect there is still some stuff in there that can be removed, but I haven't yet tackled weeding it out. And sorry for the big version jumps – I was doing lots of testing to make sure the RPMs were building and installing cleanly.