[CentOS] automounter with users home directories on centos 7.

Fri Sep 11 13:20:21 UTC 2015
John Hodrien <J.H.Hodrien at leeds.ac.uk>

On Fri, 11 Sep 2015, Jason Welsh wrote:

> ok, I have moved home out of the way and restarted automounter..
> and now I see the /home directory appear when autofs is started, but there is 
> still nothing there..
>
> [root at server2 home]# cd /home
> [root at server2 home]# ls
> [root at server2 home]# cd jason
> -bash: cd: jason: No such file or directory
> [root at server2 home]# df -h ./
> Filesystem      Size  Used Avail Use% Mounted on
> /etc/auto.home     0     0     0    - /home
> [root at server2 home]#
>
> I still dont see any errors  in the logs on either server.
>
> btw, my uid on both servers is the same.
> [root at server2 ~]# id jason
> uid=1000(jason) gid=1000(jason) groups=1000(jason),10(wheel)
>
> [root at server1 log]# id jason
> uid=1000(jason) gid=1000(jason) groups=1000(jason),10(wheel)

Does "automount -m" show what you expect?

When in doubt, enable DEBUG logging in /etc/sysconfig/autofs, as it's very
verbose about what it's doing if only you ask.

jh