autofs maps

…just short and quick note:

custome autofs maps in /etc/ must not be flagged with +x ( ie. be executable ). If they are flagged with +x bit then autofs will consider them as executable files and execute them instead to parse them

Error in logs will be

automount[4161]: attempting to mount entry [ some mount point entry ]
automount[4161]: failed to mount [ some mount point entry ]

to overcome this problem, do

# chmod -x /etc/custom_autofs_map