Why does autofs negative cache is not updated for included maps?

Solution Unverified - Updated -

Issue

  • while accessing shares configured in included maps, negative cache is not honoured.
# cat /etc/auto.master
/net    -hosts
/test   auto.direct

# cat /etc/auto.direct
+auto.include

# cat /etc/auto.include 
datastore  10.65.209.204:/datastore
nfs    10.65.209.204:/nfs
  • Testing a failed lookup.
# ls -l /test/no
# ls -l /test/no
  • checking syslog
# less /var/log/messages
Jan 13 11:57:09 autofs automount[6063]: key "no" not found in map source(s).
Jan 13 11:57:09 autofs automount[6063]: key "no" not found in map source(s).
Jan 13 11:57:10 autofs automount[6063]: key "no" not found in map source(s).
Jan 13 11:57:10 autofs automount[6063]: key "no" not found in map source(s).
Jan 13 11:57:10 autofs automount[6063]: key "no" not found in map source(s).
Jan 13 11:57:10 autofs automount[6063]: key "no" not found in map source(s).
Jan 13 11:57:11 autofs automount[6063]: key "no" not found in map source(s).

Environment

  • Red Hat Enterprise Linux 5 and 6

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