Bug 202630 - Latest autofs update breaks nis automounts
Latest autofs update breaks nis automounts
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: autofs (Show other bugs)
4.0
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jeffrey Moyer
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-15 12:20 EDT by Greg Bridges
Modified: 2007-11-30 17:07 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-09-07 12:54:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
As requested, my nsswitch.conf (1.68 KB, text/plain)
2006-08-15 16:10 EDT, Greg Bridges
no flags Details
The auto.master from the nis server (448 bytes, text/plain)
2006-08-15 16:14 EDT, Greg Bridges
no flags Details
requested autofs file (824 bytes, text/plain)
2006-09-06 17:03 EDT, Greg Bridges
no flags Details

  None (edit)
Description Greg Bridges 2006-08-15 12:20:48 EDT
Description of problem:
Our nis server has numerous nis mounts available on the server. They have been
available and working for three years. When I got the quarterly updates
(autofs-4.1.3-187:1.i386 ) from the rhn yesterday, my automounts immediately
quit working. When I rolled back to autofs-4.1.3-169, it began working again.
The error messages on the client were:

Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.ptah
Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.karnak
Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.djoser
Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.luxor
Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.stroustroup
Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.mamacass

The maps referenced are on the nis server.
Comment 1 Jeffrey Moyer 2006-08-15 12:36:38 EDT
Please attach your master map and your /etc/nsswitch.conf
Comment 2 Greg Bridges 2006-08-15 16:10:33 EDT
Created attachment 134256 [details]
As requested, my nsswitch.conf
Comment 3 Greg Bridges 2006-08-15 16:14:18 EDT
Created attachment 134258 [details]
The auto.master from the nis server
Comment 4 Greg Bridges 2006-08-15 16:23:19 EDT
I should note that the nis server is running on RHE ES3, update 8. 
Comment 5 Brandon Kitchen 2006-08-22 13:20:03 EDT
This bug is also affecting my company. We are using Solaris machines for NIS
servers though.

Again, as the previous poster mentioned, rolling back to the previous version of
autofs fixed the problem. I believe the problem is due to changes in the
/etc/init.d/autofs init script.
Comment 6 Mike 2006-08-30 16:40:59 EDT
We are also affected by this bug in autofs-4.1.3-187.  We are seeing the same
symptoms and simply using the autofs init script from autofs-4.1.3-169 seems to
fix this issue.
Comment 7 Jeffrey Moyer 2006-09-06 12:36:37 EDT
(In reply to comment #0)
> Description of problem:
> Our nis server has numerous nis mounts available on the server. They have been
> available and working for three years. When I got the quarterly updates
> (autofs-4.1.3-187:1.i386 ) from the rhn yesterday, my automounts immediately
> quit working. When I rolled back to autofs-4.1.3-169, it began working again.
> The error messages on the client were:
> 
> Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.ptah
> Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.karnak
> Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.djoser
> Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.luxor
> Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.stroustroup
> Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.mamacass
> 
> The maps referenced are on the nis server.


You master map points directly to /etc/auto.*, so I'm a little confused.  Are
you saying that you want the automounter to retrieve auto.luxor et. al. from the
nis server?  Do you have a /etc/auto.master map?  If so, please upload the
contents of that.  Also, it would be helpful if you could include your
/etc/sysconfig/autofs file.

Thanks!
Comment 8 Greg Bridges 2006-09-06 17:03:31 EDT
Created attachment 135696 [details]
requested autofs file
Comment 9 Greg Bridges 2006-09-06 17:04:37 EDT
(In reply to comment #7)
> (In reply to comment #0)
> > Description of problem:
> > Our nis server has numerous nis mounts available on the server. They have been
> > available and working for three years. When I got the quarterly updates
> > (autofs-4.1.3-187:1.i386 ) from the rhn yesterday, my automounts immediately
> > quit working. When I rolled back to autofs-4.1.3-169, it began working again.
> > The error messages on the client were:
> > 
> > Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.ptah
> > Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.karnak
> > Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.djoser
> > Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.luxor
> > Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map
/etc/auto.stroustroup
> > Aug 15 10:59:09 ambler nsswitch: nsswitch: couldn't find map /etc/auto.mamacass
> > 
> > The maps referenced are on the nis server.
> 
> 
> You master map points directly to /etc/auto.*, so I'm a little confused.  Are
> you saying that you want the automounter to retrieve auto.luxor et. al. from the
> nis server?  Do you have a /etc/auto.master map?  If so, please upload the
> contents of that.  Also, it would be helpful if you could include your
> /etc/sysconfig/autofs file.
> 
> Thanks!

Honestly, I set this up three or four years ago and I've never had to touch it
again. I don't remember why the auto.master is set up that way on the server (I
probably used a howto). I assume that the nsswitch was not attempting to find
the auto.* maps before.

The auto.master on my client machine has no uncommented lines. I will attach my
autofs file as requested.

Thanks,
Greg
Comment 10 Jeffrey Moyer 2006-09-07 12:29:38 EDT
I still don't have a clear picture of what is going on.  Do the file maps
/etc/auto.djoser, /etc/auto.ptah, /etc/auto.karnak, /etc/auto.luxor,
/etc/auto.stroustroup and /etc/auto.mamacass exist on the client?

If not, this sounds like a configuration error.  Change your nis auto.master to
remove the "/etc/" part of each of the map names, and all should work as you expect.

If I'm way off base, then please send along the output from "sh -x
/etc/init.d/autofs start" for both the old version and the new version of the
automounter.

Thanks.
Comment 11 Greg Bridges 2006-09-07 12:47:35 EDT
(In reply to comment #10)
> I still don't have a clear picture of what is going on.  Do the file maps
> /etc/auto.djoser, /etc/auto.ptah, /etc/auto.karnak, /etc/auto.luxor,
> /etc/auto.stroustroup and /etc/auto.mamacass exist on the client?
> 
No

> If not, this sounds like a configuration error.  Change your nis auto.master to
> remove the "/etc/" part of each of the map names, and all should work as you
expect.

That fixed my problem. I verified that it works with both the old autofs and the
new autofs. 

Thanks for your help,
Greg
Comment 12 Jeffrey Moyer 2006-09-07 12:54:49 EDT
Great.  It's strange that it ever worked!  ;)

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