I got one step further. I don't know exactly why this happens but I bet you do. Here is the story
I installed mod_ruid2 via yum from atomic repo. mod_ruid2 did not work as expected. Files and diretories where not writable by Joomla e.g.
I installed mod_ruid2 source from atomic and wanted to compile again on my testserver.
And there the fun began
I had to "patch" the file /usr/include/sys/capability.h
with this patch http://kyle.fedorapeople.org/libcap-sanitized-for-userspace.diff
found at: https://bugzilla.redhat.com/show_bug.cgi?id=483548
After that I could compile from atomic source, but mod_ruid2 still did not work correctly with the same error.
So I did a manual installation by getting the source from sourceforge. This also only worked with the patched capability.h file.
Untar it and than ran:
apxs -a -i -l cap -c mod_ruid2.c
After that I added this in httpd.conf
RUidGid apache apache
RGroups apache psaserv
RMinUidGid apache apache
and added this in vhost.conf
RUidGid domain-ftp-user psacln
And now it's working. Only the manual installation leads to a phpinfo with loaded module mod_ruid2.
So the difference the module is loaded maybe?
And I'm not sure what the patch is causing/braking besides it's working now (that's going to deep for me
explanation welcome - like to learn).
On my test I use ASL latest kernel, kernel-firmware and kernel-headers.
Maybe you can spread some light why it's only working that way. Best would be to get the changes into a new rpm.
Thanks a lot.