While tuning the selinux policy that I wrote for cyphesis, I noticed that it was trying to perform a stat() on /usr/bin/python. I didn't see any obvious reference to reading or invoking the python binary itself in cyphesis, and wondered if anyone knew what this was from? Perhaps the python library that is linked with cyphesis tries to do a stat() on the python binary? Or was there something else that I missed?
I believe the python interpreter does this on startup to determine the correct python path. It makes very little sense to me, but as far as I am aware it is entirely outside the control of an application that embeds python?