Bug 1086887 - "key not found" in nis auto.home
Summary: "key not found" in nis auto.home
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ian Kent
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1078776
TreeView+ depends on / blocked
 
Reported: 2014-04-11 18:29 UTC by Josh Stone
Modified: 2014-04-15 01:39 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-15 01:39:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Debug log of failed 5.1.0-0.beta1 (3.39 KB, text/plain)
2014-04-11 18:31 UTC, Josh Stone
no flags Details
Debug log of successful 5.0.8-6 (4.52 KB, text/plain)
2014-04-11 18:32 UTC, Josh Stone
no flags Details
Patch - amd lookup update lookup ldap to handle amd keys (25.43 KB, patch)
2014-04-13 10:48 UTC, Ian Kent
no flags Details | Diff
Patch - amd lookup update lookup hesiod to handle amd keys (11.36 KB, patch)
2014-04-13 10:49 UTC, Ian Kent
no flags Details | Diff
Patch - fix wildcard key lookup (5.47 KB, patch)
2014-04-13 10:50 UTC, Ian Kent
no flags Details | Diff
Patch - check for non existent negative entries in lookup_ghost() (2.12 KB, patch)
2014-04-13 10:51 UTC, Ian Kent
no flags Details | Diff

Description Josh Stone 2014-04-11 18:29:22 UTC
Description of problem:
My automount map stopped working with an error in the journal like:
  key "jistone" not found in map source(s).

Version-Release number of selected component (if applicable):
autofs-5.1.0-0.beta1.fc21

How reproducible:
100%

Steps to Reproduce:
1. Try to access /home/jistone/ via nis auto.home map

Actual results:
cd: /home/jistone: No such file or directory

Expected results:
Path should be mounted and accessible.

Additional info:
It worked fine with autofs-5.0.8-6.fc21.  I verified that downgrading works again, changing nothing else on the system.

My nis maps are simple:

  # ypcat -k auto.master
  /home auto.home
  # ypcat -k auto.home
  * vhost:/home/&

Comment 1 Josh Stone 2014-04-11 18:31:20 UTC
Created attachment 885513 [details]
Debug log of failed 5.1.0-0.beta1

Comment 2 Josh Stone 2014-04-11 18:32:06 UTC
Created attachment 885514 [details]
Debug log of successful 5.0.8-6

Comment 3 Ian Kent 2014-04-11 23:48:16 UTC
OK, will check this out as sson as I get time.

Thanks for the report.
Ian

Comment 4 Ian Kent 2014-04-13 10:48:34 UTC
Created attachment 885841 [details]
Patch - amd lookup update lookup ldap to handle amd keys

Comment 5 Ian Kent 2014-04-13 10:49:42 UTC
Created attachment 885842 [details]
Patch - amd lookup update lookup hesiod to handle amd keys

Comment 6 Ian Kent 2014-04-13 10:50:38 UTC
Created attachment 885843 [details]
Patch - fix wildcard key lookup

Comment 7 Ian Kent 2014-04-13 10:51:38 UTC
Created attachment 885844 [details]
Patch - check for non existent negative entries in lookup_ghost()

Comment 8 Ian Kent 2014-04-13 11:05:48 UTC
I think this build will resolve the nis lookup problem your
seeing:
https://koji.fedoraproject.org/koji/buildinfo?buildID=510630

Can you try it and let me know how it goes please.

Comment 9 Josh Stone 2014-04-14 16:43:09 UTC
Yes, 5.1.0-0.beta1.1 is working fine, thanks!


Note You need to log in before you can comment on or make changes to this bug.