Why does autofs throw the following message "validate_location: expected colon delimeter not found in location" in Red Hat Enterprise Linux?

Solution Verified - Updated -

Issue

  • Why does autofs throw the following message "validate_location: expected colon delimeter not found in location" in Red Hat Enterprise Linux ?

  • The automounter on RHEL 6.2/5.8 behaves differently than in earlier versions in relation to map file syntax. It appears that it now requires a colon as a delimiter. Not providing one will result in the remote filesystem not being mounted. The following message is observed:

Dec 15 15:13:14 XXX automount[16461]: attempting to mount entry /myserver/apps
Dec 15 15:13:14 XXX automount[16461]: file map not found
Dec 15 15:13:14 XXX automount[16461]: lookup_mount: lookup(yp): looking up apps
Dec 15 15:13:14 XXX automount[16461]: lookup_mount: lookup(yp): apps -> -fstype=autofs auto.apps
Dec 15 15:13:14 XXX automount[16461]: parse_mount: parse(sun): expanded entry: -fstype=autofs auto.apps
Dec 15 15:13:14 XXX automount[16461]: parse_mount: parse(sun): gathered options: fstype=autofs
Dec 15 15:13:14 XXX automount[16461]: validate_location: expected colon delimeter not found in location auto.apps

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5
  • RHEL 6 autofs package 5.0.5-39.el6
  • RHEL 5 autofs package 5.0.1-0.rc2.163.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content