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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.