autofs appears to be broken in CentOS 7.4 [SOLVED]
Posted: 2017/09/22 20:17:58
Tonight I updated my CentOS 7.3 laptop to CentOS 7.4, and now the automounter no longer works.
My config is according to the Tips&Tricks one, and has been unchanged for a long time:
/etc/auto.master:
/etc/auto.smb.top:
/etc/auto.smb.sub:
Using the debug logging option, I found that the ${host} parameter from /etc/auto.smb.sub is now populated with the laptop;'s host name (hacnb11), rather than the hostname of my NAS (hacnas02), as it did in 7.3 (and still does in 6.9):
When I replace ${host} with the name of my NAS it works again:
I can't find anything in the documentation that would indicate the substitution has changed (which would have been illogical anyway), so I have to assume this is a bug. Has anyone else come across this?
Thanks.
My config is according to the Tips&Tricks one, and has been unchanged for a long time:
/etc/auto.master:
Code: Select all
/misc /etc/auto.misc
/net -hosts
+dir:/etc/auto.master.d
/home/rh.hartman/smb auto.smb.top
Code: Select all
* -fstype=autofs,-Dhost=& file:/etc/auto.smb.sub
Code: Select all
* -fstype=cifs,uid=${UID},gid=${GID},credentials=${HOME}/.cred ://${host}/&
Code: Select all
Sep 22 20:52:06 hacnb11 automount[5624]: parse_mount: parse(sun): dequote("://hacnb11/Videos") -> ://hacnb11/Videos
Code: Select all
Sep 22 21:03:54 hacnb11 automount[6070]: parse_mount: parse(sun): dequote("://hacnas02/Videos") -> ://hacnas02/Videos
Thanks.