[CentOS] issue with CentOS 6.2 autofs

Thu May 31 22:38:57 UTC 2012
Mark LaPierre <marklapier at aol.com>

On 05/31/2012 04:28 PM, OVERBEY, DUDLEY wrote:
> I have an issue with CentOS 6.2's autofs/automount.  When I issue "service autofs start (or restart)"  the automount daemon starts as expected, however, I am not able to access any of the exports nfs directories; but if I shutdown the automount daemon and start it by just issuing "/usr/sbin/automount", I am able to access all of the nfs directories.  If the system reboots, the nfs directories become no longer available until I stop the automount daemon and restart by issuing "/usr/sbin/automount".  Any assistance would be greatly appreciated.
> doverbey at optonline.net
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

I would take a look at /etc/rc.d/init.d/autofs

It must me setting something when it starts.  I see this in the autofs file:

# load customized configuation settings
if [ -r $confdir/autofs ]; then
         . $confdir/autofs

    ^ ^  Mark LaPierre
Registerd Linux user No #267004