[CentOS] How can I prevent apache from mounting all home directories?

Tue Nov 20 00:56:04 UTC 2012
Alfred von Campe <alfred at von-campe.com>

On Nov 19, 2012, at 16:43, m.roth at 5-cent.us wrote:

> For me, it's a gnome thing, not apache.

Well, it's a combination of both.  Gnome by itself doesn't do this; it only happens when you add apache to the mix.

I set the init level to 3 on one of my test systems and rebooted.  I also configured apache to no start automatically.  After a few minutes I logged in and checked /home and there were no directories mounted.  As soon as I did a "service httpd start" the home directories started to get mounted.  And this is at run level 3 with no GUI running!

This does not happen in CentOS 5.8.  I think it's a bug (not a CentOS specific bug, but rather an upstream bug) and would love to know if anyone knows of a workaround.  I don't have any RHEL system so I am wondering if I can file a bug with Red Hat about this or not.

Alfred