I've add a chown here that you can't see in the diff above, but it got me to thinking:

Wouldn't it be nice, since the pulp-manage-db script is run as root, that it just changed its effective uid to apache at the start?

Food for thought :cake: